Vincent Massol wrote: > Hi, > > We need to decide how we display macro that do not generate any > content in the WYSIWYG editor so that the user can edit them or delete > them for example. > > We can have a visual placeholder that would be displayed whether the > macro content is empty or not, just before the macro or just above the > macro if we have enough vertical space. Something with "Macro" printed > inside and the macro name as the tooltip. > > Clicking on it could select the macro block. > > WDYT?
I agree. We could display it just like a macro with rendered content, the only difference being the fact that instead of the content there will be an image/text to visually indicate that the macro has no rendered content. We should ensure the placeholder is removed or ignored during the conversion of the HTML output from the WYSIWYG to wiki syntax. > > In any case I'm raising this so that design proposal for Macro > handling in the new wysiwyg editor takes this into account. > > Thanks > -Vincent > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

