Unsught CKEditorError caused by dragging and dropping custom components: document-selection-wrong-position "stickiness":"toNone"}}} #17749
Labels
type:bug
This issue reports a buggy (incorrect) behavior.
Reproduction steps
editor.model.schema.register(TYPE_FORM_COMPONENT, { allowIn: ["$block", "$inline"], allowWhere: ["$text"], isObject: true, isLimit: true, });
As a prerequisite span style is 'display: inline-table';const option_style = widgetParams.multi_line ? "display: inline-block; width: 100%; pointer-events:none" : "display: inline; pointer-events:none"; optionElement = viewWriter.createContainerElement("span", { class: "custom-control custom-radio", contenteditable: false, style:
${option_style}});
formcomponent childNode optionListActual DOM
chunk-5EZXCLHZ.js?v=58a18830:18973 Uncaught CKEditorError: document-selection-wrong-position {"range":{"start":{"root":"main","path":[2,3,1,6,0,2,3],"stickiness":"toNone"},"end":{"root":"main","path":[2,3,1,6,0,2,3],"stickiness":"toNone"}}}
Current behavior
I only dragged and dropped it
Expected behavior
Drag and drop, then move position
Definition of Done
Relevant debug data
Other details
No response
User agent
chunk-5EZXCLHZ.js?v=58a18830:18973 Uncaught CKEditorError: document-selection-wrong-position {"range":{"start":{"root":"main","path":[2,3,1,6,0,2,3],"stickiness":"toNone"},"end":{"root":"main","path":[2,3,1,6,0,2,3],"stickiness":"toNone"}}}
The text was updated successfully, but these errors were encountered: