Steps to reproduce : * Enable realtime editing on a new 16.2.0 * Create a document with 30 macros, apparently it's not important if these macros are the same or not. * Try to edit the document in WYSIWYG, with Realtime
Example of test content : {code} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} { {mention reference="XWiki.caubin" style="FULL_NAME" / }} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} {{mention reference="XWiki.caubin" style="FULL_NAME"/}} { code}
When editing the document, the realtime editor takes a lot of time to load, and can time out depending on the browser performance. It seems that the issue reproduces systematically with large documents (which have a lot of macros). I'm not 100% sure that this is fully related to the amount of macros present in a document, but it seems that the more macros there are, the longer it takes to load the doc. |
|