fix editor

This commit is contained in:
Pete Matsyburka committed 2026-09-25 10:36:26 +03:00
1 parent 89367bc905
commit 4225295295
1 file changed
+1 -1
@@ -498,7 +498,7 @@ const LayoutSpanMark = SpanMark.extend({
tag: 'span',
priority: 55,
getAttrs (dom) {
if (['left', 'right'].includes(dom.style.float) || dom.style.display === 'inline-block') {
if (['left', 'right'].includes(dom.style.float) || ['inline-block', 'block'].includes(dom.style.display)) {
return collectSpanDomAttrs(dom)
}