Hi,
I have added multifield in my cq:dialog which has richtext and image field .Data I have authored it is correctly displayed but when I wanted to order 2nd item to be 1 st position then I got the below issue.
does any one face the same issue.
"richtext.js:6856
Uncaught TypeError: Cannot read properties of undefined (reading 'previousSibling')
at Object.getPreviousNode (richtext.js:6856)
at Object.getPreviousTextNode (richtext.js:6888)
at Object.adaptToInclusiveEndNode (richtext.js:15715)
at instanceGenerator.createFromDocument (richtext.js:12803)
at Object.createNodeList (richtext.js:9822)
at instanceGenerator.analyzeSelection (richtext.js:4631)
at instanceGenerator.updateToolbar (richtext.js:5033)
at instanceGenerator.onFocus (richtext.js:4038)
at instanceGenerator.focus (richtext.js:3896)
at instanceGenerator.execute (richtext.js:1443)
Views
Replies
Total Likes
Hi @savi50 ,
"I have authored it is correctly displayed but when I wanted to order 2nd item to be 1 st position then I got the below issue." by this do you mean that you want to display the data in descending order ?
For example, if you are using coral multifield the structure would be something like :
multifieldNode -item0 -item1 -item2
And you are expecting it to be displayed as :
-item2 -item1 -item0
in the frontend ? Or you are looking for something else ?
Thanks
Hi @milind_bachani ,
right I have to display but in touch UI multifield Dialog there is ordering option .
@savi50 - do you mean that drag and reorder is not working for you and is throwing the js error you have pasted above?
You are talking about the option highlighted in the image below ?
yes Milind this option gives an error.
Views
Likes
Replies
Views
Likes
Replies
Views
Like
Replies
Views
Likes
Replies