Details
Description
STEPS TO REPRODUCE
- In a page, insert some text containing 2 or more headings, like:
= Ne amores quidem sanctos a sapiente alienos esse arbitrantur. = Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quae enim adhuc protulisti, popularia sunt, ego autem a te elegantiora desidero. == Non quam nostram quidem, inquit Pomponius iocans; == [[Quid enim de amicitia statueris utilitatis causa expetenda vides.>>http://loripsum.net/]] Sed quanta sit alias, nunc tantum possitne esse tanta. Tum ille timide vel potius verecunde.
- Try to edit a paragraph from the 'Pencil' button located on the right side of a heading
EXPECTED RESULTS
The page content enters in-place edit mode.
ACTUAL RESULTS
Sometimes (quite often on my tests) the in-place editing area becomes non responsive and an error is displayed in browser's console:
jquery.js:1468 Uncaught Error: Syntax error, unrecognized expression: #xwikicontent > #HNeamoresquidemsanctosasapientealienosessearbitrantur.
at Function.fa.error (jquery.js:1468)
at fa.tokenize (jquery.js:2125)
at fa.select (jquery.js:2546)
at Function.fa [as find] (jquery.js:869)
at n.fn.init.find (jquery.js:2792)
at new n.fn.init (jquery.js:2909)
at n (jquery.js:75)
at Object.afterEdit (InplaceEditing?language=en&docVersion=1.1:1)
at i (jquery.js:3187)
at Object.fireWith [as resolveWith] (jquery.js:3317)
At this point, the 'Save & View' or 'Cancel' buttons cannot be used to navigate away from the edit mode, the user has to click on another page.
Attachments
Issue Links
- is related to
-
XWIKI-17145 Add support for editing in-place the wiki pages for which the default edit mode is WYSIWYG
-
- Closed
-