[xwiki-users] Editing text in box in WYSIWYG mode
I use box macro to include the summary of page. But editing that summary needs editing box macro Content. In such editing we can't simply use the WYSIWYG. That means, I am forced to write the content in wiki code, which I want to avoid. It would be nice if I could edit text in box in WYSIWYG mode like a normal text editing (like Word Processor). Any help appreciated..
Hi,
On 28 Jan 2017, at 11:14, WikiNote Org <thewikinoteorg@gmail.com> wrote:
I use box macro to include the summary of page. But editing that summary needs editing box macro Content. In such editing we can't simply use the WYSIWYG. That means, I am forced to write the content in wiki code, which I want to avoid. It would be nice if I could edit text in box in WYSIWYG mode like a normal text editing (like Word Processor).
Any help appreciated..
Yes this is a known limitation. We need to improve the Macro dialog box to support that. Personally I feel that we’ve pushed this issue for too long and that we should put it in the roadmap sooner than later. Feel free to vote for it at http://jira.xwiki.org/browse/XWIKI-6371 Right now the only workaround I can think of would be to move your content in another wiki page and use the WYSIWYG to edit it and then use the following box macro content: {{box}} {{include reference=“Page1.Page2.WebHome”/}} {{/box}} (Where Page1.Page2.WebHome is the reference to your page having the content). Thanks -Vincent
Thanks Vincent for your reply. I am very eager to see the pending issue solved. I too feel that this limitation is pushed for too long and am expecting it to be solved for about last 1 year. I hope, I would see that changed in next updates. Thanks -- View this message in context: http://xwiki.475771.n2.nabble.com/Editing-text-in-box-in-WYSIWYG-mode-tp7602... Sent from the XWiki- Users mailing list archive at Nabble.com.
Using: (% class="box" %)((( Put the page summary here... ))) is also an option. On Sat, Jan 28, 2017 at 12:32 PM, Vincent Massol <vincent@massol.net> wrote:
Hi,
On 28 Jan 2017, at 11:14, WikiNote Org <thewikinoteorg@gmail.com> wrote:
I use box macro to include the summary of page. But editing that summary needs editing box macro Content. In such editing we can't simply use the WYSIWYG. That means, I am forced to write the content in wiki code, which I want to avoid. It would be nice if I could edit text in box in WYSIWYG mode like a normal text editing (like Word Processor).
Any help appreciated..
Yes this is a known limitation. We need to improve the Macro dialog box to support that. Personally I feel that we’ve pushed this issue for too long and that we should put it in the roadmap sooner than later. Feel free to vote for it at http://jira.xwiki.org/browse/XWIKI-6371
Right now the only workaround I can think of would be to move your content in another wiki page and use the WYSIWYG to edit it and then use the following box macro content:
{{box}} {{include reference=“Page1.Page2.WebHome”/}} {{/box}}
(Where Page1.Page2.WebHome is the reference to your page having the content).
Thanks -Vincent
Thanks. It is just what I wanted But I also use cssClass="SummaryBox" in Box macro for right-floating the SummaryBox. I tried using it as (% class="box" cssClass="SummaryBox" %) which seems not working. Am I missing something? -- View this message in context: http://xwiki.475771.n2.nabble.com/Editing-text-in-box-in-WYSIWYG-mode-tp7602... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Thu, Feb 2, 2017 at 7:30 AM, Vishal <thewikinoteorg@gmail.com> wrote:
Thanks. It is just what I wanted But I also use cssClass="SummaryBox" in Box macro for right-floating the SummaryBox. I tried using it as (% class="box" cssClass="SummaryBox" %) which seems not working. Am I missing something?
Yes. Check the HTML produced by the box macro when using the 'cssClass' parameter. You'll see that it goes in the 'class' HTML attribute. (% class="box SummaryBox" %)
-- View this message in context: http://xwiki.475771.n2.nabble. com/Editing-text-in-box-in-WYSIWYG-mode-tp7602588p7602630.html Sent from the XWiki- Users mailing list archive at Nabble.com.
It works perfectly. Thanx, you saved my day -- View this message in context: http://xwiki.475771.n2.nabble.com/Editing-text-in-box-in-WYSIWYG-mode-tp7602... Sent from the XWiki- Users mailing list archive at Nabble.com.
I wonder if it is possible to have a dialogue box (like box macro) while using (% class="box" %). It saves much efforts in giving box display parameters like width, height, etc -- View this message in context: http://xwiki.475771.n2.nabble.com/Editing-text-in-box-in-WYSIWYG-mode-tp7602... Sent from the XWiki- Users mailing list archive at Nabble.com.
The style drop down doesn't support this. You would have to write a custom plugin for CKEditor that adds support for inserting and editing "box" widgets. See http://docs.ckeditor.com/#!/guide/widget_sdk_tutorial_1 . On Fri, Feb 3, 2017 at 8:07 PM, Vishal <thewikinoteorg@gmail.com> wrote:
I wonder if it is possible to have a dialogue box (like box macro) while using (% class="box" %). It saves much efforts in giving box display parameters like width, height, etc
-- View this message in context: http://xwiki.475771.n2.nabble. com/Editing-text-in-box-in-WYSIWYG-mode-tp7602588p7602660.html Sent from the XWiki- Users mailing list archive at Nabble.com.
participants (4)
-
Marius Dumitru Florea -
Vincent Massol -
Vishal -
WikiNote Org