fix(creator-studio): unify block and inline marker deletion
This commit is contained in:
1 parent
d391b0fd00
commit
30ceab4615
3 files changed
+193
-47
No files matched your search
@@ -88,7 +88,7 @@ export function mathMarkup({ formula, display }: MathOptions): string {
|
||||
const attrs = `data-jio-math-source="${escapeHtml(formula.trim())}" data-jio-math-display="${display ? '1' : '0'}"`;
|
||||
return display
|
||||
? `<p><span class="jio-math jio-math--block" ${attrs} contenteditable="false">${body}</span></p>`
|
||||
: `<span class="jio-math" ${attrs}>${body}</span>`;
|
||||
: `<span class="jio-math" ${attrs} contenteditable="false">${body}</span>`;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user