modelCursor not set properly on auto-paragraphing #3309
Labels
package:paragraph
resolution:expired
This issue was closed due to lack of feedback.
status:stale
type:bug
This issue reports a buggy (incorrect) behavior.
As we know, paragraph feature introduces also auto-paragraphing mechanism. Every non-converted paragraph-like element (e.g.
<div>
) is converted as it is a paragraph.This is how
modelCursor
is set in auto-paragraphing. This is how it is set in upcast conversion helper:I think we should do it in the same or similar way as in upcast conversion helper, because following can happen:
<div>
is auto-paragraphed but it is also broken by<h2>
(which is converted toheading1
).And in this case, the
modelCursor
is incorrectly set after<heading1>
instead of inside second<paragraph>
.The text was updated successfully, but these errors were encountered: