Hello,
Is there a function to make something like Quick Parts (known from MS Word to insert chunks of text / content)?
I want to help our users with “mini templates” that contain larger chunks of content, users should be able to select them as easily as a macro but I want them to be able to edit the stuff via the WYSIWYG Editor afterwards.
When I hardcode the desired content in the macro users can’t edit it.
Currently we really like a few XWiki Templates and user can edit them, but the boxes and other stuff in the created pages are quite complicated and can’t be manually achieved via the WYSIWYG Editor. Even if that would be possible, then every user would probably make something that looks a bit different.
If users use the XWiki templates that contains complicated stuff, this brings the issue that if they break things, they can’t repair this stuff. Also these complicated things in the normal templates can’t be added to already existent pages with the WYSIWYG Editor.
If possible, it should simply copy the content of the “quick part” / “mini template” on the current cursor position in WYSIWYG.
For example I want to provide this for our users:
{{box cssClass="floatinginfobox" image="PLACEHOLDER" width="30%" title="**Boxtitle**"}}
|=more information |[[Link>>https://example.com]]
|=also relevant|[[Page>>doc:something.something.something.WebHome]]
{{/box}}
Users then should be able to simply edit the text, tables and stuff in WYSIWYG editor and also normally interact with the box macro settings to change the image name and so on.
5 posts - 2 participants