@ethberry/mui-lexical 1.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +16 -0
- package/README.md +1 -0
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/index.js +18 -0
- package/dist/common/hooks/index.js.map +1 -0
- package/dist/common/hooks/useModal.d.ts +2 -0
- package/dist/common/hooks/useModal.js +28 -0
- package/dist/common/hooks/useModal.js.map +1 -0
- package/dist/common/index.d.ts +2 -0
- package/dist/common/index.js +19 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/types/index.d.ts +5 -0
- package/dist/common/types/index.js +3 -0
- package/dist/common/types/index.js.map +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +18 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/ui/Modal/index.d.ts +6 -0
- package/dist/components/ui/Modal/index.js +18 -0
- package/dist/components/ui/Modal/index.js.map +1 -0
- package/dist/components/ui/index.d.ts +1 -0
- package/dist/components/ui/index.js +18 -0
- package/dist/components/ui/index.js.map +1 -0
- package/dist/config/lexicalEditorConfig.d.ts +78 -0
- package/dist/config/lexicalEditorConfig.js +33 -0
- package/dist/config/lexicalEditorConfig.js.map +1 -0
- package/dist/config/lexicalEditorTheme.d.ts +68 -0
- package/dist/config/lexicalEditorTheme.js +71 -0
- package/dist/config/lexicalEditorTheme.js.map +1 -0
- package/dist/display/index.d.ts +6 -0
- package/dist/display/index.js +47 -0
- package/dist/display/index.js.map +1 -0
- package/dist/display/styled.d.ts +1 -0
- package/dist/display/styled.js +67 -0
- package/dist/display/styled.js.map +1 -0
- package/dist/editor/Editor.d.ts +16 -0
- package/dist/editor/Editor.js +95 -0
- package/dist/editor/Editor.js.map +1 -0
- package/dist/editor/Editor.stories.d.ts +13 -0
- package/dist/editor/Editor.stories.js +135 -0
- package/dist/editor/Editor.stories.js.map +1 -0
- package/dist/editor/commands/index.d.ts +4 -0
- package/dist/editor/commands/index.js +6 -0
- package/dist/editor/commands/index.js.map +1 -0
- package/dist/editor/constants/index.d.ts +2 -0
- package/dist/editor/constants/index.js +40 -0
- package/dist/editor/constants/index.js.map +1 -0
- package/dist/editor/context/SharedHistoryContext.d.ts +11 -0
- package/dist/editor/context/SharedHistoryContext.js +17 -0
- package/dist/editor/context/SharedHistoryContext.js.map +1 -0
- package/dist/editor/context/ToolbarContext.d.ts +56 -0
- package/dist/editor/context/ToolbarContext.js +67 -0
- package/dist/editor/context/ToolbarContext.js.map +1 -0
- package/dist/editor/context/index.d.ts +2 -0
- package/dist/editor/context/index.js +19 -0
- package/dist/editor/context/index.js.map +1 -0
- package/dist/editor/editorStyles.d.ts +1 -0
- package/dist/editor/editorStyles.js +1273 -0
- package/dist/editor/editorStyles.js.map +1 -0
- package/dist/editor/hooks/index.d.ts +1 -0
- package/dist/editor/hooks/index.js +18 -0
- package/dist/editor/hooks/index.js.map +1 -0
- package/dist/editor/hooks/useModal.d.ts +2 -0
- package/dist/editor/hooks/useModal.js +29 -0
- package/dist/editor/hooks/useModal.js.map +1 -0
- package/dist/editor/images/icons/3-columns.d.ts +1 -0
- package/dist/editor/images/icons/3-columns.js +9 -0
- package/dist/editor/images/icons/3-columns.js.map +1 -0
- package/dist/editor/images/icons/add-sign.d.ts +1 -0
- package/dist/editor/images/icons/add-sign.js +9 -0
- package/dist/editor/images/icons/add-sign.js.map +1 -0
- package/dist/editor/images/icons/arrow-clockwise.d.ts +1 -0
- package/dist/editor/images/icons/arrow-clockwise.js +9 -0
- package/dist/editor/images/icons/arrow-clockwise.js.map +1 -0
- package/dist/editor/images/icons/arrow-counterclockwise.d.ts +1 -0
- package/dist/editor/images/icons/arrow-counterclockwise.js +9 -0
- package/dist/editor/images/icons/arrow-counterclockwise.js.map +1 -0
- package/dist/editor/images/icons/bg-color.d.ts +1 -0
- package/dist/editor/images/icons/bg-color.js +9 -0
- package/dist/editor/images/icons/bg-color.js.map +1 -0
- package/dist/editor/images/icons/camera.d.ts +1 -0
- package/dist/editor/images/icons/camera.js +9 -0
- package/dist/editor/images/icons/camera.js.map +1 -0
- package/dist/editor/images/icons/card-checklist.d.ts +1 -0
- package/dist/editor/images/icons/card-checklist.js +9 -0
- package/dist/editor/images/icons/card-checklist.js.map +1 -0
- package/dist/editor/images/icons/caret-right-fill.d.ts +1 -0
- package/dist/editor/images/icons/caret-right-fill.js +9 -0
- package/dist/editor/images/icons/caret-right-fill.js.map +1 -0
- package/dist/editor/images/icons/chat-left-text.d.ts +1 -0
- package/dist/editor/images/icons/chat-left-text.js +9 -0
- package/dist/editor/images/icons/chat-left-text.js.map +1 -0
- package/dist/editor/images/icons/chat-right-dots.d.ts +1 -0
- package/dist/editor/images/icons/chat-right-dots.js +9 -0
- package/dist/editor/images/icons/chat-right-dots.js.map +1 -0
- package/dist/editor/images/icons/chat-right-text.d.ts +1 -0
- package/dist/editor/images/icons/chat-right-text.js +9 -0
- package/dist/editor/images/icons/chat-right-text.js.map +1 -0
- package/dist/editor/images/icons/chat-right.d.ts +1 -0
- package/dist/editor/images/icons/chat-right.js +9 -0
- package/dist/editor/images/icons/chat-right.js.map +1 -0
- package/dist/editor/images/icons/chat-square-quote.d.ts +1 -0
- package/dist/editor/images/icons/chat-square-quote.js +9 -0
- package/dist/editor/images/icons/chat-square-quote.js.map +1 -0
- package/dist/editor/images/icons/chevron-down.d.ts +1 -0
- package/dist/editor/images/icons/chevron-down.js +9 -0
- package/dist/editor/images/icons/chevron-down.js.map +1 -0
- package/dist/editor/images/icons/clipboard.d.ts +1 -0
- package/dist/editor/images/icons/clipboard.js +9 -0
- package/dist/editor/images/icons/clipboard.js.map +1 -0
- package/dist/editor/images/icons/close.d.ts +1 -0
- package/dist/editor/images/icons/close.js +9 -0
- package/dist/editor/images/icons/close.js.map +1 -0
- package/dist/editor/images/icons/code.d.ts +1 -0
- package/dist/editor/images/icons/code.js +9 -0
- package/dist/editor/images/icons/code.js.map +1 -0
- package/dist/editor/images/icons/comments.d.ts +1 -0
- package/dist/editor/images/icons/comments.js +9 -0
- package/dist/editor/images/icons/comments.js.map +1 -0
- package/dist/editor/images/icons/copy.d.ts +1 -0
- package/dist/editor/images/icons/copy.js +9 -0
- package/dist/editor/images/icons/copy.js.map +1 -0
- package/dist/editor/images/icons/diagram-2.d.ts +1 -0
- package/dist/editor/images/icons/diagram-2.js +9 -0
- package/dist/editor/images/icons/diagram-2.js.map +1 -0
- package/dist/editor/images/icons/download.d.ts +1 -0
- package/dist/editor/images/icons/download.js +9 -0
- package/dist/editor/images/icons/download.js.map +1 -0
- package/dist/editor/images/icons/draggable-block-menu.d.ts +1 -0
- package/dist/editor/images/icons/draggable-block-menu.js +9 -0
- package/dist/editor/images/icons/draggable-block-menu.js.map +1 -0
- package/dist/editor/images/icons/dropdown-more.d.ts +1 -0
- package/dist/editor/images/icons/dropdown-more.js +9 -0
- package/dist/editor/images/icons/dropdown-more.js.map +1 -0
- package/dist/editor/images/icons/figma.d.ts +1 -0
- package/dist/editor/images/icons/figma.js +9 -0
- package/dist/editor/images/icons/figma.js.map +1 -0
- package/dist/editor/images/icons/file-earmark-text.d.ts +1 -0
- package/dist/editor/images/icons/file-earmark-text.js +9 -0
- package/dist/editor/images/icons/file-earmark-text.js.map +1 -0
- package/dist/editor/images/icons/file-image.d.ts +1 -0
- package/dist/editor/images/icons/file-image.js +9 -0
- package/dist/editor/images/icons/file-image.js.map +1 -0
- package/dist/editor/images/icons/filetype-gif.d.ts +1 -0
- package/dist/editor/images/icons/filetype-gif.js +9 -0
- package/dist/editor/images/icons/filetype-gif.js.map +1 -0
- package/dist/editor/images/icons/font-color.d.ts +1 -0
- package/dist/editor/images/icons/font-color.js +9 -0
- package/dist/editor/images/icons/font-color.js.map +1 -0
- package/dist/editor/images/icons/font-family.d.ts +1 -0
- package/dist/editor/images/icons/font-family.js +9 -0
- package/dist/editor/images/icons/font-family.js.map +1 -0
- package/dist/editor/images/icons/format-clear.d.ts +1 -0
- package/dist/editor/images/icons/format-clear.js +9 -0
- package/dist/editor/images/icons/format-clear.js.map +1 -0
- package/dist/editor/images/icons/highlighter.d.ts +1 -0
- package/dist/editor/images/icons/highlighter.js +9 -0
- package/dist/editor/images/icons/highlighter.js.map +1 -0
- package/dist/editor/images/icons/horizontal-rule.d.ts +1 -0
- package/dist/editor/images/icons/horizontal-rule.js +9 -0
- package/dist/editor/images/icons/horizontal-rule.js.map +1 -0
- package/dist/editor/images/icons/indent.d.ts +1 -0
- package/dist/editor/images/icons/indent.js +9 -0
- package/dist/editor/images/icons/indent.js.map +1 -0
- package/dist/editor/images/icons/index.d.ts +88 -0
- package/dist/editor/images/icons/index.js +105 -0
- package/dist/editor/images/icons/index.js.map +1 -0
- package/dist/editor/images/icons/journal-text.d.ts +1 -0
- package/dist/editor/images/icons/journal-text.js +9 -0
- package/dist/editor/images/icons/journal-text.js.map +1 -0
- package/dist/editor/images/icons/justify.d.ts +1 -0
- package/dist/editor/images/icons/justify.js +9 -0
- package/dist/editor/images/icons/justify.js.map +1 -0
- package/dist/editor/images/icons/link.d.ts +1 -0
- package/dist/editor/images/icons/link.js +9 -0
- package/dist/editor/images/icons/link.js.map +1 -0
- package/dist/editor/images/icons/list-ol.d.ts +1 -0
- package/dist/editor/images/icons/list-ol.js +9 -0
- package/dist/editor/images/icons/list-ol.js.map +1 -0
- package/dist/editor/images/icons/list-ul.d.ts +1 -0
- package/dist/editor/images/icons/list-ul.js +9 -0
- package/dist/editor/images/icons/list-ul.js.map +1 -0
- package/dist/editor/images/icons/lock-fill.d.ts +1 -0
- package/dist/editor/images/icons/lock-fill.js +9 -0
- package/dist/editor/images/icons/lock-fill.js.map +1 -0
- package/dist/editor/images/icons/lock.d.ts +1 -0
- package/dist/editor/images/icons/lock.js +9 -0
- package/dist/editor/images/icons/lock.js.map +1 -0
- package/dist/editor/images/icons/markdown.d.ts +1 -0
- package/dist/editor/images/icons/markdown.js +9 -0
- package/dist/editor/images/icons/markdown.js.map +1 -0
- package/dist/editor/images/icons/mic.d.ts +1 -0
- package/dist/editor/images/icons/mic.js +9 -0
- package/dist/editor/images/icons/mic.js.map +1 -0
- package/dist/editor/images/icons/minus-sign.d.ts +1 -0
- package/dist/editor/images/icons/minus-sign.js +9 -0
- package/dist/editor/images/icons/minus-sign.js.map +1 -0
- package/dist/editor/images/icons/outdent.d.ts +1 -0
- package/dist/editor/images/icons/outdent.js +9 -0
- package/dist/editor/images/icons/outdent.js.map +1 -0
- package/dist/editor/images/icons/paint-bucket.d.ts +1 -0
- package/dist/editor/images/icons/paint-bucket.js +9 -0
- package/dist/editor/images/icons/paint-bucket.js.map +1 -0
- package/dist/editor/images/icons/palette.d.ts +1 -0
- package/dist/editor/images/icons/palette.js +9 -0
- package/dist/editor/images/icons/palette.js.map +1 -0
- package/dist/editor/images/icons/pencil-fill.d.ts +1 -0
- package/dist/editor/images/icons/pencil-fill.js +9 -0
- package/dist/editor/images/icons/pencil-fill.js.map +1 -0
- package/dist/editor/images/icons/plug-fill.d.ts +1 -0
- package/dist/editor/images/icons/plug-fill.js +9 -0
- package/dist/editor/images/icons/plug-fill.js.map +1 -0
- package/dist/editor/images/icons/plug.d.ts +1 -0
- package/dist/editor/images/icons/plug.js +9 -0
- package/dist/editor/images/icons/plug.js.map +1 -0
- package/dist/editor/images/icons/plus-slash-minus.d.ts +1 -0
- package/dist/editor/images/icons/plus-slash-minus.js +9 -0
- package/dist/editor/images/icons/plus-slash-minus.js.map +1 -0
- package/dist/editor/images/icons/plus.d.ts +1 -0
- package/dist/editor/images/icons/plus.js +9 -0
- package/dist/editor/images/icons/plus.js.map +1 -0
- package/dist/editor/images/icons/prettier-error.d.ts +1 -0
- package/dist/editor/images/icons/prettier-error.js +9 -0
- package/dist/editor/images/icons/prettier-error.js.map +1 -0
- package/dist/editor/images/icons/prettier.d.ts +1 -0
- package/dist/editor/images/icons/prettier.js +9 -0
- package/dist/editor/images/icons/prettier.js.map +1 -0
- package/dist/editor/images/icons/scissors.d.ts +1 -0
- package/dist/editor/images/icons/scissors.js +9 -0
- package/dist/editor/images/icons/scissors.js.map +1 -0
- package/dist/editor/images/icons/send.d.ts +1 -0
- package/dist/editor/images/icons/send.js +9 -0
- package/dist/editor/images/icons/send.js.map +1 -0
- package/dist/editor/images/icons/square-check.d.ts +1 -0
- package/dist/editor/images/icons/square-check.js +9 -0
- package/dist/editor/images/icons/square-check.js.map +1 -0
- package/dist/editor/images/icons/sticky.d.ts +1 -0
- package/dist/editor/images/icons/sticky.js +9 -0
- package/dist/editor/images/icons/sticky.js.map +1 -0
- package/dist/editor/images/icons/success-alt.d.ts +1 -0
- package/dist/editor/images/icons/success-alt.js +9 -0
- package/dist/editor/images/icons/success-alt.js.map +1 -0
- package/dist/editor/images/icons/success.d.ts +1 -0
- package/dist/editor/images/icons/success.js +9 -0
- package/dist/editor/images/icons/success.js.map +1 -0
- package/dist/editor/images/icons/table.d.ts +1 -0
- package/dist/editor/images/icons/table.js +9 -0
- package/dist/editor/images/icons/table.js.map +1 -0
- package/dist/editor/images/icons/text-center.d.ts +1 -0
- package/dist/editor/images/icons/text-center.js +9 -0
- package/dist/editor/images/icons/text-center.js.map +1 -0
- package/dist/editor/images/icons/text-left.d.ts +1 -0
- package/dist/editor/images/icons/text-left.js +9 -0
- package/dist/editor/images/icons/text-left.js.map +1 -0
- package/dist/editor/images/icons/text-paragraph.d.ts +1 -0
- package/dist/editor/images/icons/text-paragraph.js +9 -0
- package/dist/editor/images/icons/text-paragraph.js.map +1 -0
- package/dist/editor/images/icons/text-right.d.ts +1 -0
- package/dist/editor/images/icons/text-right.js +9 -0
- package/dist/editor/images/icons/text-right.js.map +1 -0
- package/dist/editor/images/icons/trash.d.ts +1 -0
- package/dist/editor/images/icons/trash.js +9 -0
- package/dist/editor/images/icons/trash.js.map +1 -0
- package/dist/editor/images/icons/trash3.d.ts +1 -0
- package/dist/editor/images/icons/trash3.js +9 -0
- package/dist/editor/images/icons/trash3.js.map +1 -0
- package/dist/editor/images/icons/type-bold.d.ts +1 -0
- package/dist/editor/images/icons/type-bold.js +9 -0
- package/dist/editor/images/icons/type-bold.js.map +1 -0
- package/dist/editor/images/icons/type-capitalize.d.ts +1 -0
- package/dist/editor/images/icons/type-capitalize.js +9 -0
- package/dist/editor/images/icons/type-capitalize.js.map +1 -0
- package/dist/editor/images/icons/type-h1.d.ts +1 -0
- package/dist/editor/images/icons/type-h1.js +9 -0
- package/dist/editor/images/icons/type-h1.js.map +1 -0
- package/dist/editor/images/icons/type-h2.d.ts +1 -0
- package/dist/editor/images/icons/type-h2.js +9 -0
- package/dist/editor/images/icons/type-h2.js.map +1 -0
- package/dist/editor/images/icons/type-h3.d.ts +1 -0
- package/dist/editor/images/icons/type-h3.js +9 -0
- package/dist/editor/images/icons/type-h3.js.map +1 -0
- package/dist/editor/images/icons/type-h4.d.ts +1 -0
- package/dist/editor/images/icons/type-h4.js +9 -0
- package/dist/editor/images/icons/type-h4.js.map +1 -0
- package/dist/editor/images/icons/type-h5.d.ts +1 -0
- package/dist/editor/images/icons/type-h5.js +9 -0
- package/dist/editor/images/icons/type-h5.js.map +1 -0
- package/dist/editor/images/icons/type-h6.d.ts +1 -0
- package/dist/editor/images/icons/type-h6.js +9 -0
- package/dist/editor/images/icons/type-h6.js.map +1 -0
- package/dist/editor/images/icons/type-italic.d.ts +1 -0
- package/dist/editor/images/icons/type-italic.js +9 -0
- package/dist/editor/images/icons/type-italic.js.map +1 -0
- package/dist/editor/images/icons/type-lowercase.d.ts +1 -0
- package/dist/editor/images/icons/type-lowercase.js +9 -0
- package/dist/editor/images/icons/type-lowercase.js.map +1 -0
- package/dist/editor/images/icons/type-strikethrough.d.ts +1 -0
- package/dist/editor/images/icons/type-strikethrough.js +9 -0
- package/dist/editor/images/icons/type-strikethrough.js.map +1 -0
- package/dist/editor/images/icons/type-subscript.d.ts +1 -0
- package/dist/editor/images/icons/type-subscript.js +9 -0
- package/dist/editor/images/icons/type-subscript.js.map +1 -0
- package/dist/editor/images/icons/type-superscript.d.ts +1 -0
- package/dist/editor/images/icons/type-superscript.js +9 -0
- package/dist/editor/images/icons/type-superscript.js.map +1 -0
- package/dist/editor/images/icons/type-underline.d.ts +1 -0
- package/dist/editor/images/icons/type-underline.js +9 -0
- package/dist/editor/images/icons/type-underline.js.map +1 -0
- package/dist/editor/images/icons/type-uppercase.d.ts +1 -0
- package/dist/editor/images/icons/type-uppercase.js +9 -0
- package/dist/editor/images/icons/type-uppercase.js.map +1 -0
- package/dist/editor/images/icons/upload.d.ts +1 -0
- package/dist/editor/images/icons/upload.js +9 -0
- package/dist/editor/images/icons/upload.js.map +1 -0
- package/dist/editor/images/icons/user.d.ts +1 -0
- package/dist/editor/images/icons/user.js +9 -0
- package/dist/editor/images/icons/user.js.map +1 -0
- package/dist/editor/images/icons/vertical-bottom.d.ts +1 -0
- package/dist/editor/images/icons/vertical-bottom.js +9 -0
- package/dist/editor/images/icons/vertical-bottom.js.map +1 -0
- package/dist/editor/images/icons/vertical-middle.d.ts +1 -0
- package/dist/editor/images/icons/vertical-middle.js +9 -0
- package/dist/editor/images/icons/vertical-middle.js.map +1 -0
- package/dist/editor/images/icons/vertical-top.d.ts +1 -0
- package/dist/editor/images/icons/vertical-top.js +9 -0
- package/dist/editor/images/icons/vertical-top.js.map +1 -0
- package/dist/editor/images/icons/x.d.ts +1 -0
- package/dist/editor/images/icons/x.js +9 -0
- package/dist/editor/images/icons/x.js.map +1 -0
- package/dist/editor/images/icons/youtube.d.ts +1 -0
- package/dist/editor/images/icons/youtube.js +9 -0
- package/dist/editor/images/icons/youtube.js.map +1 -0
- package/dist/editor/index.d.ts +1 -0
- package/dist/editor/index.js +6 -0
- package/dist/editor/index.js.map +1 -0
- package/dist/editor/nodes/Image/ImageComponent.d.ts +15 -0
- package/dist/editor/nodes/Image/ImageComponent.js +248 -0
- package/dist/editor/nodes/Image/ImageComponent.js.map +1 -0
- package/dist/editor/nodes/Image/ImageNode.d.ts +50 -0
- package/dist/editor/nodes/Image/ImageNode.js +128 -0
- package/dist/editor/nodes/Image/ImageNode.js.map +1 -0
- package/dist/editor/nodes/Image/imageNodeStyles.d.ts +1 -0
- package/dist/editor/nodes/Image/imageNodeStyles.js +41 -0
- package/dist/editor/nodes/Image/imageNodeStyles.js.map +1 -0
- package/dist/editor/nodes/Image/index.d.ts +3 -0
- package/dist/editor/nodes/Image/index.js +10 -0
- package/dist/editor/nodes/Image/index.js.map +1 -0
- package/dist/editor/nodes/InlineImage/InlineImageComponent.d.ts +18 -0
- package/dist/editor/nodes/InlineImage/InlineImageComponent.js +160 -0
- package/dist/editor/nodes/InlineImage/InlineImageComponent.js.map +1 -0
- package/dist/editor/nodes/InlineImage/InlineImageNode.d.ts +59 -0
- package/dist/editor/nodes/InlineImage/InlineImageNode.js +149 -0
- package/dist/editor/nodes/InlineImage/InlineImageNode.js.map +1 -0
- package/dist/editor/nodes/InlineImage/index.d.ts +3 -0
- package/dist/editor/nodes/InlineImage/index.js +10 -0
- package/dist/editor/nodes/InlineImage/index.js.map +1 -0
- package/dist/editor/nodes/InlineImage/inlineImageNodeStyles.d.ts +1 -0
- package/dist/editor/nodes/InlineImage/inlineImageNodeStyles.js +90 -0
- package/dist/editor/nodes/InlineImage/inlineImageNodeStyles.js.map +1 -0
- package/dist/editor/nodes/PlaygroundNodes.d.ts +2 -0
- package/dist/editor/nodes/PlaygroundNodes.js +32 -0
- package/dist/editor/nodes/PlaygroundNodes.js.map +1 -0
- package/dist/editor/nodes/Video/VideoComponent.d.ts +9 -0
- package/dist/editor/nodes/Video/VideoComponent.js +15 -0
- package/dist/editor/nodes/Video/VideoComponent.js.map +1 -0
- package/dist/editor/nodes/Video/VideoNode.d.ts +34 -0
- package/dist/editor/nodes/Video/VideoNode.js +129 -0
- package/dist/editor/nodes/Video/VideoNode.js.map +1 -0
- package/dist/editor/nodes/Video/index.d.ts +3 -0
- package/dist/editor/nodes/Video/index.js +10 -0
- package/dist/editor/nodes/Video/index.js.map +1 -0
- package/dist/editor/nodes/Video/videoNodeStyles.d.ts +1 -0
- package/dist/editor/nodes/Video/videoNodeStyles.js +44 -0
- package/dist/editor/nodes/Video/videoNodeStyles.js.map +1 -0
- package/dist/editor/nodes/index.d.ts +4 -0
- package/dist/editor/nodes/index.js +21 -0
- package/dist/editor/nodes/index.js.map +1 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/codeActionMenuPluginStyles.d.ts +1 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/codeActionMenuPluginStyles.js +68 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/codeActionMenuPluginStyles.js.map +1 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/components/CopyButton/index.d.ts +7 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/components/CopyButton/index.js +48 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/components/CopyButton/index.js.map +1 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/components/PrettierButton/index.d.ts +9 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/components/PrettierButton/index.js +136 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/components/PrettierButton/index.js.map +1 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/components/index.d.ts +2 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/components/index.js +19 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/components/index.js.map +1 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/index.d.ts +12 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/index.js +118 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/index.js.map +1 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/utils.d.ts +1 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/utils.js +15 -0
- package/dist/editor/plugins/CodeActionMenuPlugin/utils.js.map +1 -0
- package/dist/editor/plugins/CodeHighlightPlugin/index.d.ts +2 -0
- package/dist/editor/plugins/CodeHighlightPlugin/index.js +15 -0
- package/dist/editor/plugins/CodeHighlightPlugin/index.js.map +1 -0
- package/dist/editor/plugins/ComponentPickerPlugin/index.d.ts +9 -0
- package/dist/editor/plugins/ComponentPickerPlugin/index.js +217 -0
- package/dist/editor/plugins/ComponentPickerPlugin/index.js.map +1 -0
- package/dist/editor/plugins/ContextMenuPlugin/index.d.ts +18 -0
- package/dist/editor/plugins/ContextMenuPlugin/index.js +190 -0
- package/dist/editor/plugins/ContextMenuPlugin/index.js.map +1 -0
- package/dist/editor/plugins/FloatingLinkEditorPlugin/floatLinkEditorPluginStyles.d.ts +1 -0
- package/dist/editor/plugins/FloatingLinkEditorPlugin/floatLinkEditorPluginStyles.js +48 -0
- package/dist/editor/plugins/FloatingLinkEditorPlugin/floatLinkEditorPluginStyles.js.map +1 -0
- package/dist/editor/plugins/FloatingLinkEditorPlugin/index.d.ts +14 -0
- package/dist/editor/plugins/FloatingLinkEditorPlugin/index.js +275 -0
- package/dist/editor/plugins/FloatingLinkEditorPlugin/index.js.map +1 -0
- package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/floatTextFormatToolbarPluginStyles.d.ts +1 -0
- package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/floatTextFormatToolbarPluginStyles.js +141 -0
- package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/floatTextFormatToolbarPluginStyles.js.map +1 -0
- package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.d.ts +15 -0
- package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.js +214 -0
- package/dist/editor/plugins/FloatingTextFormatToolbarPlugin/index.js.map +1 -0
- package/dist/editor/plugins/ImagesPlugin/index.d.ts +28 -0
- package/dist/editor/plugins/ImagesPlugin/index.js +175 -0
- package/dist/editor/plugins/ImagesPlugin/index.js.map +1 -0
- package/dist/editor/plugins/LinkPlugin/index.d.ts +9 -0
- package/dist/editor/plugins/LinkPlugin/index.js +14 -0
- package/dist/editor/plugins/LinkPlugin/index.js.map +1 -0
- package/dist/editor/plugins/MarkdownShortcutPlugin/index.d.ts +9 -0
- package/dist/editor/plugins/MarkdownShortcutPlugin/index.js +11 -0
- package/dist/editor/plugins/MarkdownShortcutPlugin/index.js.map +1 -0
- package/dist/editor/plugins/MarkdownTransformers/index.d.ts +5 -0
- package/dist/editor/plugins/MarkdownTransformers/index.js +181 -0
- package/dist/editor/plugins/MarkdownTransformers/index.js.map +1 -0
- package/dist/editor/plugins/MaxLengthPlugin/index.d.ts +10 -0
- package/dist/editor/plugins/MaxLengthPlugin/index.js +48 -0
- package/dist/editor/plugins/MaxLengthPlugin/index.js.map +1 -0
- package/dist/editor/plugins/ShortcutsPlugin/index.d.ts +13 -0
- package/dist/editor/plugins/ShortcutsPlugin/index.js +102 -0
- package/dist/editor/plugins/ShortcutsPlugin/index.js.map +1 -0
- package/dist/editor/plugins/ShortcutsPlugin/shortcuts.d.ts +56 -0
- package/dist/editor/plugins/ShortcutsPlugin/shortcuts.js +145 -0
- package/dist/editor/plugins/ShortcutsPlugin/shortcuts.js.map +1 -0
- package/dist/editor/plugins/TabFocusPlugin/index.d.ts +8 -0
- package/dist/editor/plugins/TabFocusPlugin/index.js +46 -0
- package/dist/editor/plugins/TabFocusPlugin/index.js.map +1 -0
- package/dist/editor/plugins/TableActionMenuPlugin/index.d.ts +12 -0
- package/dist/editor/plugins/TableActionMenuPlugin/index.js +371 -0
- package/dist/editor/plugins/TableActionMenuPlugin/index.js.map +1 -0
- package/dist/editor/plugins/TableCellResizer/index.d.ts +3 -0
- package/dist/editor/plugins/TableCellResizer/index.js +301 -0
- package/dist/editor/plugins/TableCellResizer/index.js.map +1 -0
- package/dist/editor/plugins/TableCellResizer/tableCellResizerPluginStyles.d.ts +1 -0
- package/dist/editor/plugins/TableCellResizer/tableCellResizerPluginStyles.js +18 -0
- package/dist/editor/plugins/TableCellResizer/tableCellResizerPluginStyles.js.map +1 -0
- package/dist/editor/plugins/TableHoverActionsPlugin/index.d.ts +11 -0
- package/dist/editor/plugins/TableHoverActionsPlugin/index.js +193 -0
- package/dist/editor/plugins/TableHoverActionsPlugin/index.js.map +1 -0
- package/dist/editor/plugins/TablePlugin.d.ts +38 -0
- package/dist/editor/plugins/TablePlugin.js +77 -0
- package/dist/editor/plugins/TablePlugin.js.map +1 -0
- package/dist/editor/plugins/ToolbarPlugin/index.d.ts +19 -0
- package/dist/editor/plugins/ToolbarPlugin/index.js +199 -0
- package/dist/editor/plugins/ToolbarPlugin/index.js.map +1 -0
- package/dist/editor/plugins/ToolbarPlugin/utils.d.ts +22 -0
- package/dist/editor/plugins/ToolbarPlugin/utils.js +224 -0
- package/dist/editor/plugins/ToolbarPlugin/utils.js.map +1 -0
- package/dist/editor/plugins/VideoPlugin/index.d.ts +7 -0
- package/dist/editor/plugins/VideoPlugin/index.js +61 -0
- package/dist/editor/plugins/VideoPlugin/index.js.map +1 -0
- package/dist/editor/plugins/index.d.ts +19 -0
- package/dist/editor/plugins/index.js +36 -0
- package/dist/editor/plugins/index.js.map +1 -0
- package/dist/editor/themes/index.d.ts +1 -0
- package/dist/editor/themes/index.js +6 -0
- package/dist/editor/themes/index.js.map +1 -0
- package/dist/editor/themes/playgroundEditorTheme.d.ts +2 -0
- package/dist/editor/themes/playgroundEditorTheme.js +116 -0
- package/dist/editor/themes/playgroundEditorTheme.js.map +1 -0
- package/dist/editor/themes/playgroundEditorThemeStyles.d.ts +1 -0
- package/dist/editor/themes/playgroundEditorThemeStyles.js +702 -0
- package/dist/editor/themes/playgroundEditorThemeStyles.js.map +1 -0
- package/dist/editor/types/index.d.ts +19 -0
- package/dist/editor/types/index.js +3 -0
- package/dist/editor/types/index.js.map +1 -0
- package/dist/editor/ui/BlockFormatDropdown/index.d.ts +18 -0
- package/dist/editor/ui/BlockFormatDropdown/index.js +73 -0
- package/dist/editor/ui/BlockFormatDropdown/index.js.map +1 -0
- package/dist/editor/ui/BoldButton/index.d.ts +7 -0
- package/dist/editor/ui/BoldButton/index.js +14 -0
- package/dist/editor/ui/BoldButton/index.js.map +1 -0
- package/dist/editor/ui/Button.d.ts +12 -0
- package/dist/editor/ui/Button.js +38 -0
- package/dist/editor/ui/Button.js.map +1 -0
- package/dist/editor/ui/CenterAlignButton/index.d.ts +7 -0
- package/dist/editor/ui/CenterAlignButton/index.js +14 -0
- package/dist/editor/ui/CenterAlignButton/index.js.map +1 -0
- package/dist/editor/ui/ClearEditorButton/index.d.ts +7 -0
- package/dist/editor/ui/ClearEditorButton/index.js +10 -0
- package/dist/editor/ui/ClearEditorButton/index.js.map +1 -0
- package/dist/editor/ui/ClearFormattingButton/index.d.ts +7 -0
- package/dist/editor/ui/ClearFormattingButton/index.js +10 -0
- package/dist/editor/ui/ClearFormattingButton/index.js.map +1 -0
- package/dist/editor/ui/CodeButton/index.d.ts +7 -0
- package/dist/editor/ui/CodeButton/index.js +14 -0
- package/dist/editor/ui/CodeButton/index.js.map +1 -0
- package/dist/editor/ui/CodeLanguageDropdown/index.d.ts +10 -0
- package/dist/editor/ui/CodeLanguageDropdown/index.js +26 -0
- package/dist/editor/ui/CodeLanguageDropdown/index.js.map +1 -0
- package/dist/editor/ui/ContentEditable.d.ts +9 -0
- package/dist/editor/ui/ContentEditable.js +63 -0
- package/dist/editor/ui/ContentEditable.js.map +1 -0
- package/dist/editor/ui/Dialog.d.ts +10 -0
- package/dist/editor/ui/Dialog.js +33 -0
- package/dist/editor/ui/Dialog.js.map +1 -0
- package/dist/editor/ui/Divider/index.d.ts +2 -0
- package/dist/editor/ui/Divider/index.js +9 -0
- package/dist/editor/ui/Divider/index.js.map +1 -0
- package/dist/editor/ui/DropDown.d.ts +16 -0
- package/dist/editor/ui/DropDown.js +141 -0
- package/dist/editor/ui/DropDown.js.map +1 -0
- package/dist/editor/ui/FlashMessage.d.ts +6 -0
- package/dist/editor/ui/FlashMessage.js +32 -0
- package/dist/editor/ui/FlashMessage.js.map +1 -0
- package/dist/editor/ui/HorizontalRuleButton/index.d.ts +3 -0
- package/dist/editor/ui/HorizontalRuleButton/index.js +13 -0
- package/dist/editor/ui/HorizontalRuleButton/index.js.map +1 -0
- package/dist/editor/ui/ImageButton/index.d.ts +8 -0
- package/dist/editor/ui/ImageButton/index.js +13 -0
- package/dist/editor/ui/ImageButton/index.js.map +1 -0
- package/dist/editor/ui/ImageResizer.d.ts +17 -0
- package/dist/editor/ui/ImageResizer.js +174 -0
- package/dist/editor/ui/ImageResizer.js.map +1 -0
- package/dist/editor/ui/ItalicButton/index.d.ts +7 -0
- package/dist/editor/ui/ItalicButton/index.js +14 -0
- package/dist/editor/ui/ItalicButton/index.js.map +1 -0
- package/dist/editor/ui/LeftAlignButton/index.d.ts +7 -0
- package/dist/editor/ui/LeftAlignButton/index.js +14 -0
- package/dist/editor/ui/LeftAlignButton/index.js.map +1 -0
- package/dist/editor/ui/LinkButton/index.d.ts +8 -0
- package/dist/editor/ui/LinkButton/index.js +11 -0
- package/dist/editor/ui/LinkButton/index.js.map +1 -0
- package/dist/editor/ui/Modal.d.ts +9 -0
- package/dist/editor/ui/Modal.js +110 -0
- package/dist/editor/ui/Modal.js.map +1 -0
- package/dist/editor/ui/RedoButton/index.d.ts +3 -0
- package/dist/editor/ui/RedoButton/index.js +14 -0
- package/dist/editor/ui/RedoButton/index.js.map +1 -0
- package/dist/editor/ui/RightAlignButton/index.d.ts +7 -0
- package/dist/editor/ui/RightAlignButton/index.js +14 -0
- package/dist/editor/ui/RightAlignButton/index.js.map +1 -0
- package/dist/editor/ui/Select.d.ts +8 -0
- package/dist/editor/ui/Select.js +52 -0
- package/dist/editor/ui/Select.js.map +1 -0
- package/dist/editor/ui/StrikethroughButton/index.d.ts +7 -0
- package/dist/editor/ui/StrikethroughButton/index.js +14 -0
- package/dist/editor/ui/StrikethroughButton/index.js.map +1 -0
- package/dist/editor/ui/TableButton/index.d.ts +8 -0
- package/dist/editor/ui/TableButton/index.js +13 -0
- package/dist/editor/ui/TableButton/index.js.map +1 -0
- package/dist/editor/ui/TextInput.d.ts +13 -0
- package/dist/editor/ui/TextInput.js +36 -0
- package/dist/editor/ui/TextInput.js.map +1 -0
- package/dist/editor/ui/UnderlineButton/index.d.ts +7 -0
- package/dist/editor/ui/UnderlineButton/index.js +14 -0
- package/dist/editor/ui/UnderlineButton/index.js.map +1 -0
- package/dist/editor/ui/UndoButton/index.d.ts +3 -0
- package/dist/editor/ui/UndoButton/index.js +14 -0
- package/dist/editor/ui/UndoButton/index.js.map +1 -0
- package/dist/editor/ui/VideoButton/index.d.ts +8 -0
- package/dist/editor/ui/VideoButton/index.js +13 -0
- package/dist/editor/ui/VideoButton/index.js.map +1 -0
- package/dist/editor/ui/index.d.ts +30 -0
- package/dist/editor/ui/index.js +74 -0
- package/dist/editor/ui/index.js.map +1 -0
- package/dist/editor/utils/dropDownActiveClass.d.ts +1 -0
- package/dist/editor/utils/dropDownActiveClass.js +12 -0
- package/dist/editor/utils/dropDownActiveClass.js.map +1 -0
- package/dist/editor/utils/getDOMRangeRect.d.ts +1 -0
- package/dist/editor/utils/getDOMRangeRect.js +19 -0
- package/dist/editor/utils/getDOMRangeRect.js.map +1 -0
- package/dist/editor/utils/getSelectedNode.d.ts +2 -0
- package/dist/editor/utils/getSelectedNode.js +21 -0
- package/dist/editor/utils/getSelectedNode.js.map +1 -0
- package/dist/editor/utils/getThemeSelector.d.ts +2 -0
- package/dist/editor/utils/getThemeSelector.js +15 -0
- package/dist/editor/utils/getThemeSelector.js.map +1 -0
- package/dist/editor/utils/index.d.ts +9 -0
- package/dist/editor/utils/index.js +26 -0
- package/dist/editor/utils/index.js.map +1 -0
- package/dist/editor/utils/joinClasses.d.ts +1 -0
- package/dist/editor/utils/joinClasses.js +8 -0
- package/dist/editor/utils/joinClasses.js.map +1 -0
- package/dist/editor/utils/parseVideoUrl.d.ts +15 -0
- package/dist/editor/utils/parseVideoUrl.js +115 -0
- package/dist/editor/utils/parseVideoUrl.js.map +1 -0
- package/dist/editor/utils/setFloatingElemPosition.d.ts +1 -0
- package/dist/editor/utils/setFloatingElemPosition.js +47 -0
- package/dist/editor/utils/setFloatingElemPosition.js.map +1 -0
- package/dist/editor/utils/setFloatingElemPositionForLinkEditor.d.ts +1 -0
- package/dist/editor/utils/setFloatingElemPositionForLinkEditor.js +29 -0
- package/dist/editor/utils/setFloatingElemPositionForLinkEditor.js.map +1 -0
- package/dist/editor/utils/url.d.ts +2 -0
- package/dist/editor/utils/url.js +25 -0
- package/dist/editor/utils/url.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +37 -0
- package/dist/index.js.map +1 -0
- package/eslint.config.mjs +27 -0
- package/package.json +110 -0
- package/tsconfig.eslint.json +10 -0
|
@@ -0,0 +1,1273 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.editorStyles = void 0;
|
|
4
|
+
const material_1 = require("@mui/material");
|
|
5
|
+
exports.editorStyles = (0, material_1.css) `
|
|
6
|
+
@import "https://fonts.googleapis.com/css?family=Reenie+Beanie";
|
|
7
|
+
|
|
8
|
+
.editor-shell {
|
|
9
|
+
margin: 20px auto;
|
|
10
|
+
border-radius: 2px;
|
|
11
|
+
max-width: 1100px;
|
|
12
|
+
color: #000;
|
|
13
|
+
position: relative;
|
|
14
|
+
line-height: 1.7;
|
|
15
|
+
font-weight: 400;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.editor-shell .editor-container {
|
|
19
|
+
background: #fff;
|
|
20
|
+
position: relative;
|
|
21
|
+
display: block;
|
|
22
|
+
border-bottom-left-radius: 10px;
|
|
23
|
+
border-bottom-right-radius: 10px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.editor-shell .editor-container.tree-view {
|
|
27
|
+
border-radius: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.editor-shell .editor-container.plain-text {
|
|
31
|
+
border-top-left-radius: 10px;
|
|
32
|
+
border-top-right-radius: 10px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.editor-scroller {
|
|
36
|
+
min-height: 150px;
|
|
37
|
+
max-width: 100%;
|
|
38
|
+
border: 0;
|
|
39
|
+
display: flex;
|
|
40
|
+
position: relative;
|
|
41
|
+
outline: 0;
|
|
42
|
+
z-index: 0;
|
|
43
|
+
resize: vertical;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.editor {
|
|
47
|
+
flex: auto;
|
|
48
|
+
max-width: 100%;
|
|
49
|
+
position: relative;
|
|
50
|
+
resize: vertical;
|
|
51
|
+
z-index: -1;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.test-recorder-output {
|
|
55
|
+
margin: 20px auto 20px auto;
|
|
56
|
+
width: 100%;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
pre {
|
|
60
|
+
line-height: 1.1;
|
|
61
|
+
background: #222;
|
|
62
|
+
color: #fff;
|
|
63
|
+
margin: 0;
|
|
64
|
+
padding: 10px;
|
|
65
|
+
font-size: 12px;
|
|
66
|
+
overflow: auto;
|
|
67
|
+
max-height: 400px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.tree-view-output {
|
|
71
|
+
display: block;
|
|
72
|
+
background: #222;
|
|
73
|
+
color: #fff;
|
|
74
|
+
padding: 0;
|
|
75
|
+
font-size: 12px;
|
|
76
|
+
margin: 1px auto 10px auto;
|
|
77
|
+
position: relative;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
border-bottom-left-radius: 10px;
|
|
80
|
+
border-bottom-right-radius: 10px;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
pre::-webkit-scrollbar {
|
|
84
|
+
background: transparent;
|
|
85
|
+
width: 10px;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
pre::-webkit-scrollbar-thumb {
|
|
89
|
+
background: #999;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.editor-dev-button {
|
|
93
|
+
position: relative;
|
|
94
|
+
display: block;
|
|
95
|
+
width: 40px;
|
|
96
|
+
height: 40px;
|
|
97
|
+
font-size: 12px;
|
|
98
|
+
border-radius: 20px;
|
|
99
|
+
border: none;
|
|
100
|
+
cursor: pointer;
|
|
101
|
+
outline: none;
|
|
102
|
+
box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
|
|
103
|
+
background-color: #444;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.editor-dev-button::after {
|
|
107
|
+
content: "";
|
|
108
|
+
position: absolute;
|
|
109
|
+
top: 10px;
|
|
110
|
+
right: 10px;
|
|
111
|
+
bottom: 10px;
|
|
112
|
+
left: 10px;
|
|
113
|
+
display: block;
|
|
114
|
+
background-size: contain;
|
|
115
|
+
filter: invert(1);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.editor-dev-button:hover {
|
|
119
|
+
background-color: #555;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.editor-dev-button.active {
|
|
123
|
+
background-color: rgb(233, 35, 35);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.typeahead-popover {
|
|
127
|
+
background: #fff;
|
|
128
|
+
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
|
|
129
|
+
border-radius: 8px;
|
|
130
|
+
position: fixed;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.typeahead-popover ul {
|
|
134
|
+
padding: 0;
|
|
135
|
+
list-style: none;
|
|
136
|
+
margin: 0;
|
|
137
|
+
border-radius: 8px;
|
|
138
|
+
max-height: 200px;
|
|
139
|
+
overflow-y: scroll;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.typeahead-popover ul::-webkit-scrollbar {
|
|
143
|
+
display: none;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.typeahead-popover ul {
|
|
147
|
+
-ms-overflow-style: none;
|
|
148
|
+
scrollbar-width: none;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.typeahead-popover ul li {
|
|
152
|
+
margin: 0;
|
|
153
|
+
min-width: 180px;
|
|
154
|
+
font-size: 14px;
|
|
155
|
+
outline: none;
|
|
156
|
+
cursor: pointer;
|
|
157
|
+
border-radius: 8px;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.typeahead-popover ul li.selected {
|
|
161
|
+
background: #eee;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.typeahead-popover li {
|
|
165
|
+
margin: 0 8px 0 8px;
|
|
166
|
+
padding: 8px;
|
|
167
|
+
color: #050505;
|
|
168
|
+
cursor: pointer;
|
|
169
|
+
line-height: 16px;
|
|
170
|
+
font-size: 15px;
|
|
171
|
+
display: flex;
|
|
172
|
+
align-content: center;
|
|
173
|
+
flex-direction: row;
|
|
174
|
+
flex-shrink: 0;
|
|
175
|
+
background-color: #fff;
|
|
176
|
+
border-radius: 8px;
|
|
177
|
+
border: 0;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
.typeahead-popover li.active {
|
|
181
|
+
display: flex;
|
|
182
|
+
width: 20px;
|
|
183
|
+
height: 20px;
|
|
184
|
+
background-size: contain;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.typeahead-popover li:first-child {
|
|
188
|
+
border-radius: 8px 8px 0 0;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.typeahead-popover li:last-child {
|
|
192
|
+
border-radius: 0 0 8px 8px;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.typeahead-popover li:hover {
|
|
196
|
+
background-color: #eee;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.typeahead-popover li .text {
|
|
200
|
+
display: flex;
|
|
201
|
+
line-height: 20px;
|
|
202
|
+
flex-grow: 1;
|
|
203
|
+
min-width: 150px;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
.typeahead-popover li .icon {
|
|
207
|
+
display: flex;
|
|
208
|
+
width: 20px;
|
|
209
|
+
height: 20px;
|
|
210
|
+
user-select: none;
|
|
211
|
+
margin-right: 8px;
|
|
212
|
+
line-height: 16px;
|
|
213
|
+
background-size: contain;
|
|
214
|
+
background-repeat: no-repeat;
|
|
215
|
+
background-position: center;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.component-picker-menu {
|
|
219
|
+
width: 200px;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.mentions-menu {
|
|
223
|
+
width: 250px;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.auto-embed-menu {
|
|
227
|
+
width: 150px;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.emoji-menu {
|
|
231
|
+
width: 200px;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
.link-editor .button.active,
|
|
235
|
+
.toolbar .button.active {
|
|
236
|
+
background-color: rgb(223, 232, 250);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.link-editor div.buttons {
|
|
240
|
+
width: 20%;
|
|
241
|
+
display: flex;
|
|
242
|
+
align-items: center;
|
|
243
|
+
gap: 8px;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.link-editor .link-input {
|
|
247
|
+
display: block;
|
|
248
|
+
width: calc(100% - 100px);
|
|
249
|
+
box-sizing: border-box;
|
|
250
|
+
margin: 12px 12px;
|
|
251
|
+
padding: 8px 12px;
|
|
252
|
+
border-radius: 15px;
|
|
253
|
+
background-color: #eee;
|
|
254
|
+
font-size: 15px;
|
|
255
|
+
color: rgb(5, 5, 5);
|
|
256
|
+
border: 0;
|
|
257
|
+
outline: 0;
|
|
258
|
+
position: relative;
|
|
259
|
+
font-family: inherit;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
.link-editor .link-view {
|
|
263
|
+
display: flex;
|
|
264
|
+
gap: 8px;
|
|
265
|
+
width: calc(100% - 24px);
|
|
266
|
+
margin: 8px 12px;
|
|
267
|
+
padding: 8px 12px;
|
|
268
|
+
border-radius: 15px;
|
|
269
|
+
font-size: 15px;
|
|
270
|
+
color: rgb(5, 5, 5);
|
|
271
|
+
border: 0;
|
|
272
|
+
outline: 0;
|
|
273
|
+
position: relative;
|
|
274
|
+
font-family: inherit;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.link-editor .link-view a {
|
|
278
|
+
display: block;
|
|
279
|
+
word-break: break-word;
|
|
280
|
+
width: calc(100% - 33px);
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.link-editor div.link-edit,
|
|
284
|
+
.link-editor div.link-trash,
|
|
285
|
+
.link-editor div.link-cancel,
|
|
286
|
+
.link-editor div.link-confirm {
|
|
287
|
+
width: 24px;
|
|
288
|
+
display: flex;
|
|
289
|
+
align-items: center;
|
|
290
|
+
cursor: pointer;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.link-editor .link-input a {
|
|
294
|
+
color: rgb(33, 111, 219);
|
|
295
|
+
text-decoration: underline;
|
|
296
|
+
white-space: nowrap;
|
|
297
|
+
overflow: hidden;
|
|
298
|
+
margin-right: 30px;
|
|
299
|
+
text-overflow: ellipsis;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.link-editor .link-input a:hover {
|
|
303
|
+
text-decoration: underline;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.link-editor .font-size-wrapper,
|
|
307
|
+
.link-editor .font-family-wrapper {
|
|
308
|
+
display: flex;
|
|
309
|
+
margin: 0 4px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.link-editor select {
|
|
313
|
+
padding: 6px;
|
|
314
|
+
border: none;
|
|
315
|
+
background-color: rgba(0, 0, 0, 0.075);
|
|
316
|
+
border-radius: 4px;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.mention:focus {
|
|
320
|
+
box-shadow: rgb(180 213 255) 0px 0px 0px 2px;
|
|
321
|
+
outline: none;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.dropdown {
|
|
325
|
+
z-index: 100;
|
|
326
|
+
display: block;
|
|
327
|
+
position: fixed;
|
|
328
|
+
box-shadow:
|
|
329
|
+
0 12px 28px 0 rgba(0, 0, 0, 0.2),
|
|
330
|
+
0 2px 4px 0 rgba(0, 0, 0, 0.1),
|
|
331
|
+
inset 0 0 0 1px rgba(255, 255, 255, 0.5);
|
|
332
|
+
border-radius: 8px;
|
|
333
|
+
min-height: 40px;
|
|
334
|
+
background-color: #fff;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
.dropdown .item {
|
|
338
|
+
margin: 0 8px 0 8px;
|
|
339
|
+
padding: 8px;
|
|
340
|
+
color: #050505;
|
|
341
|
+
cursor: pointer;
|
|
342
|
+
line-height: 16px;
|
|
343
|
+
font-size: 15px;
|
|
344
|
+
display: flex;
|
|
345
|
+
align-content: center;
|
|
346
|
+
flex-direction: row;
|
|
347
|
+
flex-shrink: 0;
|
|
348
|
+
justify-content: space-between;
|
|
349
|
+
background-color: #fff;
|
|
350
|
+
border-radius: 8px;
|
|
351
|
+
border: 0;
|
|
352
|
+
max-width: 250px;
|
|
353
|
+
min-width: 100px;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.dropdown .item.wide {
|
|
357
|
+
align-items: center;
|
|
358
|
+
width: 248px;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.dropdown .item.wide .icon-text-container {
|
|
362
|
+
display: flex;
|
|
363
|
+
align-items: center;
|
|
364
|
+
gap: 4px;
|
|
365
|
+
|
|
366
|
+
.text {
|
|
367
|
+
min-width: 120px;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
.dropdown .item .shortcut {
|
|
372
|
+
color: #939393;
|
|
373
|
+
align-self: flex-end;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.dropdown .item .active {
|
|
377
|
+
display: flex;
|
|
378
|
+
width: 20px;
|
|
379
|
+
height: 20px;
|
|
380
|
+
background-size: contain;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.dropdown .item:first-child {
|
|
384
|
+
margin-top: 8px;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.dropdown .item:last-child {
|
|
388
|
+
margin-bottom: 8px;
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
.dropdown .item:hover {
|
|
392
|
+
background-color: #eee;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
.dropdown .item .text {
|
|
396
|
+
display: flex;
|
|
397
|
+
line-height: 20px;
|
|
398
|
+
flex-grow: 1;
|
|
399
|
+
min-width: 150px;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.dropdown .item .icon {
|
|
403
|
+
display: flex;
|
|
404
|
+
width: 20px;
|
|
405
|
+
height: 20px;
|
|
406
|
+
user-select: none;
|
|
407
|
+
margin-right: 12px;
|
|
408
|
+
line-height: 16px;
|
|
409
|
+
background-size: contain;
|
|
410
|
+
background-position: center;
|
|
411
|
+
background-repeat: no-repeat;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.dropdown .divider {
|
|
415
|
+
width: auto;
|
|
416
|
+
background-color: #eee;
|
|
417
|
+
margin: 4px 8px;
|
|
418
|
+
height: 1px;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
@media screen and (max-width: 1100px) {
|
|
422
|
+
.dropdown-button-text {
|
|
423
|
+
display: none !important;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.dialog-dropdown > .dropdown-button-text {
|
|
427
|
+
display: flex !important;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
.font-size .dropdown-button-text {
|
|
431
|
+
display: flex !important;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.code-language .dropdown-button-text {
|
|
435
|
+
display: flex !important;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
.icon.code {
|
|
440
|
+
background-image: url(./images/icons/code.svg);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.switches {
|
|
444
|
+
z-index: 6;
|
|
445
|
+
position: fixed;
|
|
446
|
+
left: 10px;
|
|
447
|
+
bottom: 70px;
|
|
448
|
+
animation: slide-in 0.4s ease;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
@keyframes slide-in {
|
|
452
|
+
0% {
|
|
453
|
+
opacity: 0;
|
|
454
|
+
transform: translateX(-200px);
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
100% {
|
|
458
|
+
opacity: 1;
|
|
459
|
+
transform: translateX(0);
|
|
460
|
+
}
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.switch {
|
|
464
|
+
display: block;
|
|
465
|
+
color: #444;
|
|
466
|
+
margin: 5px 0;
|
|
467
|
+
background-color: rgba(238, 238, 238, 0.7);
|
|
468
|
+
padding: 5px 10px;
|
|
469
|
+
border-radius: 10px;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
#rich-text-switch {
|
|
473
|
+
right: 0;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
#character-count-switch {
|
|
477
|
+
right: 130px;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
.switch label {
|
|
481
|
+
margin-right: 5px;
|
|
482
|
+
line-height: 24px;
|
|
483
|
+
width: 100px;
|
|
484
|
+
font-size: 14px;
|
|
485
|
+
display: inline-block;
|
|
486
|
+
vertical-align: middle;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.switch button {
|
|
490
|
+
background-color: rgb(206, 208, 212);
|
|
491
|
+
height: 24px;
|
|
492
|
+
box-sizing: border-box;
|
|
493
|
+
border-radius: 12px;
|
|
494
|
+
width: 44px;
|
|
495
|
+
display: inline-block;
|
|
496
|
+
vertical-align: middle;
|
|
497
|
+
position: relative;
|
|
498
|
+
outline: none;
|
|
499
|
+
cursor: pointer;
|
|
500
|
+
transition: background-color 0.1s;
|
|
501
|
+
border: 2px solid transparent;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
.switch button:focus-visible {
|
|
505
|
+
border-color: blue;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
.switch button span {
|
|
509
|
+
top: 0px;
|
|
510
|
+
left: 0px;
|
|
511
|
+
display: block;
|
|
512
|
+
position: absolute;
|
|
513
|
+
width: 20px;
|
|
514
|
+
height: 20px;
|
|
515
|
+
border-radius: 12px;
|
|
516
|
+
background-color: white;
|
|
517
|
+
transition: transform 0.2s;
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
.switch button[aria-checked="true"] {
|
|
521
|
+
background-color: rgb(24, 119, 242);
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
.switch button[aria-checked="true"] span {
|
|
525
|
+
transform: translateX(20px);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
.editor-shell span.editor-image {
|
|
529
|
+
cursor: default;
|
|
530
|
+
display: inline-block;
|
|
531
|
+
position: relative;
|
|
532
|
+
user-select: none;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
.editor-shell .editor-image img {
|
|
536
|
+
max-width: 100%;
|
|
537
|
+
cursor: default;
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
.editor-shell .editor-image img.focused {
|
|
541
|
+
outline: 2px solid rgb(60, 132, 244);
|
|
542
|
+
user-select: none;
|
|
543
|
+
}
|
|
544
|
+
|
|
545
|
+
.editor-shell .editor-image img.focused.draggable {
|
|
546
|
+
cursor: grab;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
.editor-shell .editor-image img.focused.draggable:active {
|
|
550
|
+
cursor: grabbing;
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
.editor-shell .editor-image .image-caption-container .tree-view-output {
|
|
554
|
+
margin: 0;
|
|
555
|
+
border-radius: 0;
|
|
556
|
+
}
|
|
557
|
+
|
|
558
|
+
.editor-shell .editor-image .image-caption-container {
|
|
559
|
+
display: block;
|
|
560
|
+
position: absolute;
|
|
561
|
+
bottom: 4px;
|
|
562
|
+
left: 0;
|
|
563
|
+
right: 0;
|
|
564
|
+
padding: 0;
|
|
565
|
+
margin: 0;
|
|
566
|
+
border-top: 1px solid #fff;
|
|
567
|
+
background-color: rgba(255, 255, 255, 0.9);
|
|
568
|
+
min-width: 100px;
|
|
569
|
+
color: #000;
|
|
570
|
+
overflow: hidden;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
.editor-shell .editor-image .image-caption-button {
|
|
574
|
+
display: block;
|
|
575
|
+
position: absolute;
|
|
576
|
+
bottom: 20px;
|
|
577
|
+
left: 0;
|
|
578
|
+
right: 0;
|
|
579
|
+
width: 30%;
|
|
580
|
+
padding: 10px;
|
|
581
|
+
margin: 0 auto;
|
|
582
|
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
583
|
+
border-radius: 5px;
|
|
584
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
585
|
+
min-width: 100px;
|
|
586
|
+
color: #fff;
|
|
587
|
+
cursor: pointer;
|
|
588
|
+
user-select: none;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.editor-shell .editor-image .image-caption-button:hover {
|
|
592
|
+
background-color: rgba(60, 132, 244, 0.5);
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.editor-shell .editor-image .image-edit-button {
|
|
596
|
+
border: 1px solid rgba(0, 0, 0, 0.3);
|
|
597
|
+
border-radius: 5px;
|
|
598
|
+
background-image: url(./images/icons/pencil-fill.svg);
|
|
599
|
+
background-size: 16px;
|
|
600
|
+
background-position: center;
|
|
601
|
+
background-repeat: no-repeat;
|
|
602
|
+
width: 35px;
|
|
603
|
+
height: 35px;
|
|
604
|
+
vertical-align: -0.25em;
|
|
605
|
+
position: absolute;
|
|
606
|
+
right: 4px;
|
|
607
|
+
top: 4px;
|
|
608
|
+
cursor: pointer;
|
|
609
|
+
user-select: none;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
.editor-shell .editor-image .image-edit-button:hover {
|
|
613
|
+
background-color: rgba(60, 132, 244, 0.1);
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
.editor-shell .editor-image .image-resizer {
|
|
617
|
+
display: block;
|
|
618
|
+
width: 7px;
|
|
619
|
+
height: 7px;
|
|
620
|
+
position: absolute;
|
|
621
|
+
background-color: rgb(60, 132, 244);
|
|
622
|
+
border: 1px solid #fff;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.editor-shell .editor-image .image-resizer.image-resizer-n {
|
|
626
|
+
top: -6px;
|
|
627
|
+
left: 48%;
|
|
628
|
+
cursor: n-resize;
|
|
629
|
+
}
|
|
630
|
+
|
|
631
|
+
.editor-shell .editor-image .image-resizer.image-resizer-ne {
|
|
632
|
+
top: -6px;
|
|
633
|
+
right: -6px;
|
|
634
|
+
cursor: ne-resize;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.editor-shell .editor-image .image-resizer.image-resizer-e {
|
|
638
|
+
bottom: 48%;
|
|
639
|
+
right: -6px;
|
|
640
|
+
cursor: e-resize;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.editor-shell .editor-image .image-resizer.image-resizer-se {
|
|
644
|
+
bottom: -2px;
|
|
645
|
+
right: -6px;
|
|
646
|
+
cursor: nwse-resize;
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
.editor-shell .editor-image .image-resizer.image-resizer-s {
|
|
650
|
+
bottom: -2px;
|
|
651
|
+
left: 48%;
|
|
652
|
+
cursor: s-resize;
|
|
653
|
+
}
|
|
654
|
+
|
|
655
|
+
.editor-shell .editor-image .image-resizer.image-resizer-sw {
|
|
656
|
+
bottom: -2px;
|
|
657
|
+
left: -6px;
|
|
658
|
+
cursor: sw-resize;
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.editor-shell .editor-image .image-resizer.image-resizer-w {
|
|
662
|
+
bottom: 48%;
|
|
663
|
+
left: -6px;
|
|
664
|
+
cursor: w-resize;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.editor-shell .editor-image .image-resizer.image-resizer-nw {
|
|
668
|
+
top: -6px;
|
|
669
|
+
left: -6px;
|
|
670
|
+
cursor: nw-resize;
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
.editor-shell span.inline-editor-image {
|
|
674
|
+
cursor: default;
|
|
675
|
+
display: inline-block;
|
|
676
|
+
position: relative;
|
|
677
|
+
z-index: 1;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.editor-shell .inline-editor-image img {
|
|
681
|
+
max-width: 100%;
|
|
682
|
+
cursor: default;
|
|
683
|
+
}
|
|
684
|
+
|
|
685
|
+
.editor-shell .inline-editor-image img.focused {
|
|
686
|
+
outline: 2px solid rgb(60, 132, 244);
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.editor-shell .inline-editor-image img.focused.draggable {
|
|
690
|
+
cursor: grab;
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
.editor-shell .inline-editor-image img.focused.draggable:active {
|
|
694
|
+
cursor: grabbing;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
.editor-shell .inline-editor-image .image-caption-container .tree-view-output {
|
|
698
|
+
margin: 0;
|
|
699
|
+
border-radius: 0;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.editor-shell .inline-editor-image.position-full {
|
|
703
|
+
margin: 1em 0 1em 0;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.editor-shell .inline-editor-image.position-left {
|
|
707
|
+
float: left;
|
|
708
|
+
width: 50%;
|
|
709
|
+
margin: 1em 1em 0 0;
|
|
710
|
+
}
|
|
711
|
+
|
|
712
|
+
.editor-shell .inline-editor-image.position-right {
|
|
713
|
+
float: right;
|
|
714
|
+
width: 50%;
|
|
715
|
+
margin: 1em 0 0 1em;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.editor-shell .inline-editor-image .image-edit-button {
|
|
719
|
+
display: block;
|
|
720
|
+
position: absolute;
|
|
721
|
+
top: 12px;
|
|
722
|
+
right: 12px;
|
|
723
|
+
padding: 6px 8px;
|
|
724
|
+
margin: 0 auto;
|
|
725
|
+
border: 1px solid rgba(255, 255, 255, 0.3);
|
|
726
|
+
border-radius: 5px;
|
|
727
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
728
|
+
min-width: 60px;
|
|
729
|
+
color: #fff;
|
|
730
|
+
cursor: pointer;
|
|
731
|
+
user-select: none;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.editor-shell .inline-editor-image .image-edit-button:hover {
|
|
735
|
+
background-color: rgba(60, 132, 244, 0.5);
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
.editor-shell .inline-editor-image .image-caption-container {
|
|
739
|
+
display: block;
|
|
740
|
+
background-color: #f4f4f4;
|
|
741
|
+
min-width: 100%;
|
|
742
|
+
color: #000;
|
|
743
|
+
overflow: hidden;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.actions {
|
|
747
|
+
position: absolute;
|
|
748
|
+
text-align: right;
|
|
749
|
+
margin: 10px;
|
|
750
|
+
bottom: 0;
|
|
751
|
+
right: 0;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
.actions.tree-view {
|
|
755
|
+
border-bottom-left-radius: 0;
|
|
756
|
+
border-bottom-right-radius: 0;
|
|
757
|
+
}
|
|
758
|
+
|
|
759
|
+
.actions i {
|
|
760
|
+
background-size: contain;
|
|
761
|
+
display: inline-block;
|
|
762
|
+
height: 15px;
|
|
763
|
+
width: 15px;
|
|
764
|
+
vertical-align: -0.25em;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
.actions i.indent {
|
|
768
|
+
background-image: url(./images/icons/indent.svg);
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
.actions i.outdent {
|
|
772
|
+
background-image: url(./images/icons/outdent.svg);
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
.actions i.lock {
|
|
776
|
+
background-image: url(./images/icons/lock-fill.svg);
|
|
777
|
+
}
|
|
778
|
+
|
|
779
|
+
.actions i.image {
|
|
780
|
+
background-image: url(./images/icons/file-image.svg);
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
.actions i.table {
|
|
784
|
+
background-image: url(./images/icons/table.svg);
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
.actions i.unlock {
|
|
788
|
+
background-image: url(./images/icons/lock.svg);
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
.actions i.left-align {
|
|
792
|
+
background-image: url(./images/icons/text-left.svg);
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
.actions i.center-align {
|
|
796
|
+
background-image: url(./images/icons/text-center.svg);
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
.actions i.right-align {
|
|
800
|
+
background-image: url(./images/icons/text-right.svg);
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.actions i.justify-align {
|
|
804
|
+
background-image: url(./images/icons/justify.svg);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.actions i.disconnect {
|
|
808
|
+
background-image: url(./images/icons/plug.svg);
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.actions i.connect {
|
|
812
|
+
background-image: url(./images/icons/plug-fill.svg);
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
.table-cell-action-button-container {
|
|
816
|
+
position: absolute;
|
|
817
|
+
z-index: 3;
|
|
818
|
+
top: 0;
|
|
819
|
+
left: 0;
|
|
820
|
+
will-change: transform;
|
|
821
|
+
}
|
|
822
|
+
|
|
823
|
+
.table-cell-action-button-container.table-cell-action-button-container--active {
|
|
824
|
+
pointer-events: auto;
|
|
825
|
+
opacity: 1;
|
|
826
|
+
}
|
|
827
|
+
|
|
828
|
+
.table-cell-action-button-container.table-cell-action-button-container--inactive {
|
|
829
|
+
pointer-events: none;
|
|
830
|
+
opacity: 0;
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.table-cell-action-button {
|
|
834
|
+
display: flex;
|
|
835
|
+
justify-content: center;
|
|
836
|
+
align-items: center;
|
|
837
|
+
border: 0;
|
|
838
|
+
position: absolute;
|
|
839
|
+
top: 10px;
|
|
840
|
+
right: 10px;
|
|
841
|
+
border-radius: 15px;
|
|
842
|
+
color: #222;
|
|
843
|
+
cursor: pointer;
|
|
844
|
+
}
|
|
845
|
+
|
|
846
|
+
i.chevron-down {
|
|
847
|
+
display: inline-block;
|
|
848
|
+
height: 8px;
|
|
849
|
+
width: 8px;
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.action-button {
|
|
853
|
+
background-color: #eee;
|
|
854
|
+
border: 0;
|
|
855
|
+
padding: 8px 12px;
|
|
856
|
+
position: relative;
|
|
857
|
+
margin-left: 5px;
|
|
858
|
+
border-radius: 15px;
|
|
859
|
+
color: #222;
|
|
860
|
+
display: inline-block;
|
|
861
|
+
cursor: pointer;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
.action-button:hover {
|
|
865
|
+
background-color: #ddd;
|
|
866
|
+
color: #000;
|
|
867
|
+
}
|
|
868
|
+
|
|
869
|
+
.action-button-mic.active {
|
|
870
|
+
animation: mic-pulsate-color 3s infinite;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
button.action-button:disabled {
|
|
874
|
+
opacity: 0.6;
|
|
875
|
+
background: #eee;
|
|
876
|
+
cursor: not-allowed;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
@keyframes mic-pulsate-color {
|
|
880
|
+
0% {
|
|
881
|
+
background-color: #ffdcdc;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
50% {
|
|
885
|
+
background-color: #ff8585;
|
|
886
|
+
}
|
|
887
|
+
|
|
888
|
+
100% {
|
|
889
|
+
background-color: #ffdcdc;
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.debug-timetravel-panel {
|
|
894
|
+
overflow: hidden;
|
|
895
|
+
padding: 0 0 10px 0;
|
|
896
|
+
margin: auto;
|
|
897
|
+
display: flex;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
.debug-timetravel-panel-slider {
|
|
901
|
+
padding: 0;
|
|
902
|
+
flex: 8;
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
.debug-timetravel-panel-button {
|
|
906
|
+
padding: 0;
|
|
907
|
+
border: 0;
|
|
908
|
+
background: none;
|
|
909
|
+
flex: 1;
|
|
910
|
+
color: #fff;
|
|
911
|
+
font-size: 12px;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
.debug-timetravel-panel-button:hover {
|
|
915
|
+
text-decoration: underline;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
.debug-timetravel-button {
|
|
919
|
+
border: 0;
|
|
920
|
+
padding: 0;
|
|
921
|
+
font-size: 12px;
|
|
922
|
+
top: 10px;
|
|
923
|
+
right: 15px;
|
|
924
|
+
position: absolute;
|
|
925
|
+
background: none;
|
|
926
|
+
color: #fff;
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
.debug-timetravel-button:hover {
|
|
930
|
+
text-decoration: underline;
|
|
931
|
+
}
|
|
932
|
+
|
|
933
|
+
.debug-treetype-button {
|
|
934
|
+
border: 0;
|
|
935
|
+
padding: 0;
|
|
936
|
+
font-size: 12px;
|
|
937
|
+
top: 10px;
|
|
938
|
+
right: 85px;
|
|
939
|
+
position: absolute;
|
|
940
|
+
background: none;
|
|
941
|
+
color: #fff;
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
.debug-treetype-button:hover {
|
|
945
|
+
text-decoration: underline;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
.connecting {
|
|
949
|
+
font-size: 15px;
|
|
950
|
+
color: #999;
|
|
951
|
+
overflow: hidden;
|
|
952
|
+
position: absolute;
|
|
953
|
+
text-overflow: ellipsis;
|
|
954
|
+
top: 10px;
|
|
955
|
+
left: 10px;
|
|
956
|
+
user-select: none;
|
|
957
|
+
white-space: nowrap;
|
|
958
|
+
display: inline-block;
|
|
959
|
+
pointer-events: none;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
.ltr {
|
|
963
|
+
text-align: left;
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
.rtl {
|
|
967
|
+
text-align: right;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.toolbar {
|
|
971
|
+
display: flex;
|
|
972
|
+
margin-bottom: 1px;
|
|
973
|
+
background: #fff;
|
|
974
|
+
padding: 4px;
|
|
975
|
+
border-top-left-radius: 10px;
|
|
976
|
+
border-top-right-radius: 10px;
|
|
977
|
+
vertical-align: middle;
|
|
978
|
+
overflow: auto;
|
|
979
|
+
height: 36px;
|
|
980
|
+
position: sticky;
|
|
981
|
+
top: 0;
|
|
982
|
+
z-index: 2;
|
|
983
|
+
overflow-y: hidden; /* disable vertical scroll*/
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
button.toolbar-item {
|
|
987
|
+
border: 0;
|
|
988
|
+
display: flex;
|
|
989
|
+
align-items: center;
|
|
990
|
+
gap: 4px;
|
|
991
|
+
background: none;
|
|
992
|
+
border-radius: 10px;
|
|
993
|
+
padding: 8px;
|
|
994
|
+
cursor: pointer;
|
|
995
|
+
vertical-align: middle;
|
|
996
|
+
flex-shrink: 0;
|
|
997
|
+
justify-content: space-between;
|
|
998
|
+
}
|
|
999
|
+
|
|
1000
|
+
button.toolbar-item:disabled {
|
|
1001
|
+
cursor: not-allowed;
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
button.toolbar-item.spaced {
|
|
1005
|
+
margin-right: 2px;
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
button.toolbar-item i.format {
|
|
1009
|
+
background-size: contain;
|
|
1010
|
+
display: inline-block;
|
|
1011
|
+
height: 18px;
|
|
1012
|
+
width: 18px;
|
|
1013
|
+
vertical-align: -0.25em;
|
|
1014
|
+
opacity: 0.6;
|
|
1015
|
+
}
|
|
1016
|
+
|
|
1017
|
+
button.toolbar-item:disabled .icon,
|
|
1018
|
+
button.toolbar-item:disabled .text,
|
|
1019
|
+
button.toolbar-item:disabled i.format,
|
|
1020
|
+
button.toolbar-item:disabled .chevron-down {
|
|
1021
|
+
opacity: 0.2;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
button.toolbar-item.active {
|
|
1025
|
+
background-color: rgba(196, 204, 221, 0.3);
|
|
1026
|
+
}
|
|
1027
|
+
|
|
1028
|
+
button.toolbar-item.active i {
|
|
1029
|
+
opacity: 1;
|
|
1030
|
+
}
|
|
1031
|
+
|
|
1032
|
+
.toolbar-item:hover:not([disabled]) {
|
|
1033
|
+
background-color: #eee;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
.toolbar-item.font-family .text {
|
|
1037
|
+
display: block;
|
|
1038
|
+
max-width: 40px;
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
|
+
.toolbar .code-language {
|
|
1042
|
+
width: 150px;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
.toolbar .toolbar-item .text {
|
|
1046
|
+
display: flex;
|
|
1047
|
+
line-height: 20px;
|
|
1048
|
+
vertical-align: middle;
|
|
1049
|
+
font-size: 14px;
|
|
1050
|
+
color: #777;
|
|
1051
|
+
text-overflow: ellipsis;
|
|
1052
|
+
overflow: hidden;
|
|
1053
|
+
height: 20px;
|
|
1054
|
+
text-align: left;
|
|
1055
|
+
padding-right: 10px;
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
.toolbar .toolbar-item .icon {
|
|
1059
|
+
display: flex;
|
|
1060
|
+
width: 20px;
|
|
1061
|
+
height: 20px;
|
|
1062
|
+
user-select: none;
|
|
1063
|
+
margin-right: 8px;
|
|
1064
|
+
line-height: 16px;
|
|
1065
|
+
background-size: contain;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.toolbar i.chevron-down,
|
|
1069
|
+
.toolbar-item i.chevron-down {
|
|
1070
|
+
margin-top: 3px;
|
|
1071
|
+
width: 16px;
|
|
1072
|
+
height: 16px;
|
|
1073
|
+
display: flex;
|
|
1074
|
+
user-select: none;
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
.toolbar i.chevron-down.inside {
|
|
1078
|
+
width: 16px;
|
|
1079
|
+
height: 16px;
|
|
1080
|
+
display: flex;
|
|
1081
|
+
margin-left: -25px;
|
|
1082
|
+
margin-top: 11px;
|
|
1083
|
+
margin-right: 10px;
|
|
1084
|
+
pointer-events: none;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.toolbar .divider {
|
|
1088
|
+
width: 1px;
|
|
1089
|
+
background-color: #eee;
|
|
1090
|
+
margin: 0 4px;
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
.sticky-note-container {
|
|
1094
|
+
position: absolute;
|
|
1095
|
+
z-index: 9;
|
|
1096
|
+
width: 120px;
|
|
1097
|
+
display: inline-block;
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
.sticky-note {
|
|
1101
|
+
line-height: 1;
|
|
1102
|
+
text-align: left;
|
|
1103
|
+
width: 120px;
|
|
1104
|
+
margin: 25px;
|
|
1105
|
+
padding: 20px 10px;
|
|
1106
|
+
position: relative;
|
|
1107
|
+
border: 1px solid #e8e8e8;
|
|
1108
|
+
font-family: "Reenie Beanie";
|
|
1109
|
+
font-size: 24px;
|
|
1110
|
+
border-bottom-right-radius: 60px 5px;
|
|
1111
|
+
display: block;
|
|
1112
|
+
cursor: move;
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
.sticky-note:after {
|
|
1116
|
+
content: "";
|
|
1117
|
+
position: absolute;
|
|
1118
|
+
z-index: -1;
|
|
1119
|
+
right: -0px;
|
|
1120
|
+
bottom: 20px;
|
|
1121
|
+
width: 120px;
|
|
1122
|
+
height: 25px;
|
|
1123
|
+
background: rgba(0, 0, 0, 0.2);
|
|
1124
|
+
box-shadow: 2px 15px 5px rgba(0, 0, 0, 0.4);
|
|
1125
|
+
transform: matrix(-1, -0.1, 0, 1, 0, 0);
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
.sticky-note.yellow {
|
|
1129
|
+
border-top: 1px solid #fdfd86;
|
|
1130
|
+
background: linear-gradient(135deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.sticky-note.pink {
|
|
1134
|
+
border-top: 1px solid #e7d1e4;
|
|
1135
|
+
background: linear-gradient(135deg, #f7cbe8 81%, #f7cbe8 82%, #f7cbe8 82%, #e7bfe1 100%);
|
|
1136
|
+
}
|
|
1137
|
+
|
|
1138
|
+
.sticky-note-container.dragging {
|
|
1139
|
+
transition: none !important;
|
|
1140
|
+
}
|
|
1141
|
+
|
|
1142
|
+
.sticky-note div {
|
|
1143
|
+
cursor: text;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1146
|
+
.sticky-note .delete {
|
|
1147
|
+
border: 0;
|
|
1148
|
+
background: none;
|
|
1149
|
+
position: absolute;
|
|
1150
|
+
top: 8px;
|
|
1151
|
+
right: 10px;
|
|
1152
|
+
font-size: 10px;
|
|
1153
|
+
cursor: pointer;
|
|
1154
|
+
opacity: 0.5;
|
|
1155
|
+
}
|
|
1156
|
+
|
|
1157
|
+
.sticky-note .delete:hover {
|
|
1158
|
+
font-weight: bold;
|
|
1159
|
+
opacity: 1;
|
|
1160
|
+
}
|
|
1161
|
+
|
|
1162
|
+
.sticky-note .color {
|
|
1163
|
+
border: 0;
|
|
1164
|
+
background: none;
|
|
1165
|
+
position: absolute;
|
|
1166
|
+
top: 8px;
|
|
1167
|
+
right: 25px;
|
|
1168
|
+
cursor: pointer;
|
|
1169
|
+
opacity: 0.5;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
.sticky-note .color:hover {
|
|
1173
|
+
opacity: 1;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.sticky-note .color i {
|
|
1177
|
+
display: block;
|
|
1178
|
+
width: 12px;
|
|
1179
|
+
height: 12px;
|
|
1180
|
+
background-size: contain;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.excalidraw-button {
|
|
1184
|
+
border: 0;
|
|
1185
|
+
padding: 0;
|
|
1186
|
+
margin: 0;
|
|
1187
|
+
background-color: transparent;
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
.excalidraw-button.selected {
|
|
1191
|
+
outline: 2px solid rgb(60, 132, 244);
|
|
1192
|
+
user-select: none;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1195
|
+
.github-corner:hover .octo-arm {
|
|
1196
|
+
animation: octocat-wave 560ms ease-in-out;
|
|
1197
|
+
}
|
|
1198
|
+
|
|
1199
|
+
@keyframes octocat-wave {
|
|
1200
|
+
0%,
|
|
1201
|
+
100% {
|
|
1202
|
+
transform: rotate(0);
|
|
1203
|
+
}
|
|
1204
|
+
|
|
1205
|
+
20%,
|
|
1206
|
+
60% {
|
|
1207
|
+
transform: rotate(-25deg);
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
40%,
|
|
1211
|
+
80% {
|
|
1212
|
+
transform: rotate(10deg);
|
|
1213
|
+
}
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
@media (max-width: 500px) {
|
|
1217
|
+
.github-corner:hover .octo-arm {
|
|
1218
|
+
animation: none;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1221
|
+
.github-corner .octo-arm {
|
|
1222
|
+
animation: octocat-wave 560ms ease-in-out;
|
|
1223
|
+
}
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
.spacer {
|
|
1227
|
+
letter-spacing: -2px;
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
.editor-equation {
|
|
1231
|
+
cursor: default;
|
|
1232
|
+
user-select: none;
|
|
1233
|
+
}
|
|
1234
|
+
|
|
1235
|
+
.editor-equation.focused {
|
|
1236
|
+
outline: 2px solid rgb(60, 132, 244);
|
|
1237
|
+
}
|
|
1238
|
+
|
|
1239
|
+
button.item i {
|
|
1240
|
+
opacity: 0.6;
|
|
1241
|
+
}
|
|
1242
|
+
|
|
1243
|
+
button.item.dropdown-item-active {
|
|
1244
|
+
background-color: rgba(223, 232, 250, 0.3);
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
button.item.dropdown-item-active i {
|
|
1248
|
+
opacity: 1;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
.TableNode__contentEditable {
|
|
1252
|
+
min-height: 20px;
|
|
1253
|
+
border: 0;
|
|
1254
|
+
resize: none;
|
|
1255
|
+
cursor: text;
|
|
1256
|
+
display: block;
|
|
1257
|
+
position: relative;
|
|
1258
|
+
outline: 0px;
|
|
1259
|
+
padding: 0;
|
|
1260
|
+
user-select: text;
|
|
1261
|
+
font-size: 15px;
|
|
1262
|
+
white-space: pre-wrap;
|
|
1263
|
+
word-break: break-word;
|
|
1264
|
+
z-index: 3;
|
|
1265
|
+
}
|
|
1266
|
+
|
|
1267
|
+
.dialog-dropdown {
|
|
1268
|
+
background-color: #eee !important;
|
|
1269
|
+
margin-bottom: 10px;
|
|
1270
|
+
width: 100%;
|
|
1271
|
+
}
|
|
1272
|
+
`;
|
|
1273
|
+
//# sourceMappingURL=editorStyles.js.map
|