mirror of
https://github.com/docusealco/docuseal
synced 2026-11-13 07:52:32 -05:00
fix editor
This commit is contained in:
1 parent
89367bc905
commit
4225295295
1 file changed
+1
-1
@@ -498,7 +498,7 @@ const LayoutSpanMark = SpanMark.extend({
|
|||||||
tag: 'span',
|
tag: 'span',
|
||||||
priority: 55,
|
priority: 55,
|
||||||
getAttrs (dom) {
|
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)
|
return collectSpanDomAttrs(dom)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user