xuyuanwei678 4eb435dc40
fix(editor): align editable shape labels with text (#1137)
* fix(editor): align editable shape labels with text

* fix(editor): preserve plain-text line breaks on edit

* fix(editor): preserve entities in plain text editing

* style(editor): format shape editing changes

* test(editor): update manifest version expectation
2026-08-19 10:22:11 +08:00

16 lines
325 B
TypeScript

import { createTextProseStyles } from '@openmaic/renderer';
export const EDITOR_REACT_STYLES = `
${createTextProseStyles('.renderer-prosemirror-editor .ProseMirror')}
.renderer-prosemirror-editor {
cursor: text;
}
.renderer-prosemirror-editor :focus,
.renderer-prosemirror-editor :focus-visible {
outline: none;
}
`;