@payloadcms/richtext-lexical 3.0.0-beta.48 → 3.0.0-beta.49
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/README.md +1 -1
- package/dist/cell/index.d.ts +1 -1
- package/dist/cell/index.d.ts.map +1 -1
- package/dist/cell/index.js +1 -2
- package/dist/cell/index.js.map +1 -1
- package/dist/exports/client/Component-6AVANNNR.js +2 -0
- package/dist/exports/client/Component-6AVANNNR.js.map +7 -0
- package/dist/exports/client/Component-SZVAYRJX.js +2 -0
- package/dist/exports/client/Component-SZVAYRJX.js.map +7 -0
- package/dist/exports/client/Field-U5PHZTST.js +2 -0
- package/dist/exports/client/Field-U5PHZTST.js.map +7 -0
- package/dist/exports/client/RelationshipComponent-FGUPLCD2.js +2 -0
- package/dist/exports/client/RelationshipComponent-FGUPLCD2.js.map +7 -0
- package/dist/exports/client/bundled.css +1 -0
- package/dist/exports/client/chunk-33ZTAHVL.js +2 -0
- package/dist/exports/client/chunk-33ZTAHVL.js.map +7 -0
- package/dist/exports/client/chunk-35NZOHAF.js +2 -0
- package/dist/exports/client/chunk-35NZOHAF.js.map +7 -0
- package/dist/exports/client/chunk-3PZ2ZFQG.js +3 -0
- package/dist/exports/client/chunk-3PZ2ZFQG.js.map +7 -0
- package/dist/exports/client/chunk-FSTRW2TI.js +2 -0
- package/dist/exports/client/chunk-FSTRW2TI.js.map +7 -0
- package/dist/exports/client/chunk-Y5455JF3.js +2 -0
- package/dist/exports/client/chunk-Y5455JF3.js.map +7 -0
- package/dist/exports/client/component-FFLILIUZ.js +2 -0
- package/dist/exports/client/component-FFLILIUZ.js.map +7 -0
- package/dist/exports/client/component-GR6KYTLO.js +2 -0
- package/dist/exports/client/component-GR6KYTLO.js.map +7 -0
- package/dist/exports/client/component-RAVN56DE.js +2 -0
- package/dist/exports/client/component-RAVN56DE.js.map +7 -0
- package/dist/exports/client/index.d.ts +52 -0
- package/dist/exports/client/index.d.ts.map +1 -0
- package/dist/exports/client/index.js +36 -0
- package/dist/exports/client/index.js.map +7 -0
- package/dist/field/Field.d.ts +1 -0
- package/dist/field/Field.d.ts.map +1 -1
- package/dist/field/Field.js +2 -7
- package/dist/field/Field.js.map +1 -1
- package/dist/field/bundled.css +0 -0
- package/dist/field/features/align/feature.server.d.ts.map +1 -1
- package/dist/field/features/align/feature.server.js +2 -1
- package/dist/field/features/align/feature.server.js.map +1 -1
- package/dist/field/features/blockquote/feature.server.d.ts.map +1 -1
- package/dist/field/features/blockquote/feature.server.js +2 -1
- package/dist/field/features/blockquote/feature.server.js.map +1 -1
- package/dist/field/features/blocks/component/BlockContent.js +1 -9
- package/dist/field/features/blocks/component/BlockContent.js.map +1 -1
- package/dist/field/features/blocks/component/FormSavePlugin.d.ts +1 -2
- package/dist/field/features/blocks/component/FormSavePlugin.d.ts.map +1 -1
- package/dist/field/features/blocks/component/FormSavePlugin.js +2 -2
- package/dist/field/features/blocks/component/FormSavePlugin.js.map +1 -1
- package/dist/field/features/blocks/component/index.d.ts.map +1 -1
- package/dist/field/features/blocks/component/index.js +2 -12
- package/dist/field/features/blocks/component/index.js.map +1 -1
- package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts +1 -1
- package/dist/field/features/blocks/component/removeEmptyArrayValues.d.ts.map +1 -1
- package/dist/field/features/blocks/component/removeEmptyArrayValues.js.map +1 -1
- package/dist/field/features/blocks/drawer/index.d.ts.map +1 -1
- package/dist/field/features/blocks/drawer/index.js +1 -4
- package/dist/field/features/blocks/drawer/index.js.map +1 -1
- package/dist/field/features/blocks/feature.server.d.ts +1 -1
- package/dist/field/features/blocks/feature.server.d.ts.map +1 -1
- package/dist/field/features/blocks/feature.server.js +3 -3
- package/dist/field/features/blocks/feature.server.js.map +1 -1
- package/dist/field/features/converters/html/field/index.d.ts +1 -1
- package/dist/field/features/converters/html/field/index.d.ts.map +1 -1
- package/dist/field/features/converters/html/field/index.js.map +1 -1
- package/dist/field/features/createFeaturePropComponent.d.ts.map +1 -1
- package/dist/field/features/createFeaturePropComponent.js +1 -3
- package/dist/field/features/createFeaturePropComponent.js.map +1 -1
- package/dist/field/features/debug/testRecorder/feature.server.d.ts.map +1 -1
- package/dist/field/features/debug/testRecorder/feature.server.js +2 -1
- package/dist/field/features/debug/testRecorder/feature.server.js.map +1 -1
- package/dist/field/features/debug/testRecorder/plugin/index.js +0 -1
- package/dist/field/features/debug/testRecorder/plugin/index.js.map +1 -1
- package/dist/field/features/debug/treeView/feature.server.d.ts.map +1 -1
- package/dist/field/features/debug/treeView/feature.server.js +2 -1
- package/dist/field/features/debug/treeView/feature.server.js.map +1 -1
- package/dist/field/features/debug/treeView/plugin/index.js +0 -1
- package/dist/field/features/debug/treeView/plugin/index.js.map +1 -1
- package/dist/field/features/format/bold/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/bold/feature.server.js +2 -1
- package/dist/field/features/format/bold/feature.server.js.map +1 -1
- package/dist/field/features/format/inlineCode/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/inlineCode/feature.server.js +2 -1
- package/dist/field/features/format/inlineCode/feature.server.js.map +1 -1
- package/dist/field/features/format/italic/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/italic/feature.server.js +2 -1
- package/dist/field/features/format/italic/feature.server.js.map +1 -1
- package/dist/field/features/format/strikethrough/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/strikethrough/feature.server.js +2 -1
- package/dist/field/features/format/strikethrough/feature.server.js.map +1 -1
- package/dist/field/features/format/subscript/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/subscript/feature.server.js +2 -1
- package/dist/field/features/format/subscript/feature.server.js.map +1 -1
- package/dist/field/features/format/superscript/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/superscript/feature.server.js +2 -1
- package/dist/field/features/format/superscript/feature.server.js.map +1 -1
- package/dist/field/features/format/underline/feature.server.d.ts.map +1 -1
- package/dist/field/features/format/underline/feature.server.js +2 -1
- package/dist/field/features/format/underline/feature.server.js.map +1 -1
- package/dist/field/features/heading/feature.client.d.ts.map +1 -1
- package/dist/field/features/heading/feature.client.js +1 -2
- package/dist/field/features/heading/feature.client.js.map +1 -1
- package/dist/field/features/heading/feature.server.d.ts.map +1 -1
- package/dist/field/features/heading/feature.server.js +2 -1
- package/dist/field/features/heading/feature.server.js.map +1 -1
- package/dist/field/features/horizontalRule/feature.server.d.ts.map +1 -1
- package/dist/field/features/horizontalRule/feature.server.js +2 -1
- package/dist/field/features/horizontalRule/feature.server.js.map +1 -1
- package/dist/field/features/horizontalRule/plugin/index.js +0 -1
- package/dist/field/features/horizontalRule/plugin/index.js.map +1 -1
- package/dist/field/features/indent/feature.server.d.ts.map +1 -1
- package/dist/field/features/indent/feature.server.js +2 -1
- package/dist/field/features/indent/feature.server.js.map +1 -1
- package/dist/field/features/link/drawer/baseFields.d.ts +1 -2
- package/dist/field/features/link/drawer/baseFields.d.ts.map +1 -1
- package/dist/field/features/link/drawer/baseFields.js.map +1 -1
- package/dist/field/features/link/drawer/index.d.ts.map +1 -1
- package/dist/field/features/link/drawer/index.js +2 -10
- package/dist/field/features/link/drawer/index.js.map +1 -1
- package/dist/field/features/link/drawer/types.d.ts +1 -1
- package/dist/field/features/link/drawer/types.d.ts.map +1 -1
- package/dist/field/features/link/drawer/types.js.map +1 -1
- package/dist/field/features/link/feature.server.d.ts +1 -2
- package/dist/field/features/link/feature.server.d.ts.map +1 -1
- package/dist/field/features/link/feature.server.js +5 -4
- package/dist/field/features/link/feature.server.js.map +1 -1
- package/dist/field/features/link/nodes/LinkNode.d.ts.map +1 -1
- package/dist/field/features/link/nodes/LinkNode.js.map +1 -1
- package/dist/field/features/link/plugins/autoLink/index.js.map +1 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.d.ts.map +1 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js +3 -8
- package/dist/field/features/link/plugins/floatingLinkEditor/LinkEditor/index.js.map +1 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/index.js +0 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/index.js.map +1 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts +1 -2
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.d.ts.map +1 -1
- package/dist/field/features/link/plugins/floatingLinkEditor/utilities.js.map +1 -1
- package/dist/field/features/link/validate.d.ts +1 -1
- package/dist/field/features/link/validate.d.ts.map +1 -1
- package/dist/field/features/link/validate.js.map +1 -1
- package/dist/field/features/lists/checklist/feature.server.d.ts.map +1 -1
- package/dist/field/features/lists/checklist/feature.server.js +2 -1
- package/dist/field/features/lists/checklist/feature.server.js.map +1 -1
- package/dist/field/features/lists/orderedList/feature.server.d.ts.map +1 -1
- package/dist/field/features/lists/orderedList/feature.server.js +2 -1
- package/dist/field/features/lists/orderedList/feature.server.js.map +1 -1
- package/dist/field/features/lists/unorderedList/feature.server.d.ts.map +1 -1
- package/dist/field/features/lists/unorderedList/feature.server.js +2 -1
- package/dist/field/features/lists/unorderedList/feature.server.js.map +1 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.d.ts.map +1 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js +2 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/feature.server.js.map +1 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js +0 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/Component.js.map +1 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts +1 -2
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -1
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.js.map +1 -1
- package/dist/field/features/migrations/slateToLexical/feature.server.d.ts.map +1 -1
- package/dist/field/features/migrations/slateToLexical/feature.server.js +2 -1
- package/dist/field/features/migrations/slateToLexical/feature.server.js.map +1 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js +0 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/Component.js.map +1 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts +1 -2
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.d.ts.map +1 -1
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.js.map +1 -1
- package/dist/field/features/paragraph/feature.server.d.ts.map +1 -1
- package/dist/field/features/paragraph/feature.server.js +2 -1
- package/dist/field/features/paragraph/feature.server.js.map +1 -1
- package/dist/field/features/relationship/drawer/index.js +1 -1
- package/dist/field/features/relationship/drawer/index.js.map +1 -1
- package/dist/field/features/relationship/feature.server.d.ts.map +1 -1
- package/dist/field/features/relationship/feature.server.js +2 -1
- package/dist/field/features/relationship/feature.server.js.map +1 -1
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.d.ts.map +1 -1
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.js +2 -8
- package/dist/field/features/relationship/nodes/components/RelationshipComponent.js.map +1 -1
- package/dist/field/features/relationship/plugins/index.d.ts.map +1 -1
- package/dist/field/features/relationship/plugins/index.js +2 -3
- package/dist/field/features/relationship/plugins/index.js.map +1 -1
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.d.ts.map +1 -1
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js +1 -3
- package/dist/field/features/relationship/utils/EnabledRelationshipsCondition.js.map +1 -1
- package/dist/field/features/toolbars/fixed/Toolbar/index.d.ts.map +1 -1
- package/dist/field/features/toolbars/fixed/Toolbar/index.js +1 -3
- package/dist/field/features/toolbars/fixed/Toolbar/index.js.map +1 -1
- package/dist/field/features/toolbars/fixed/feature.server.d.ts.map +1 -1
- package/dist/field/features/toolbars/fixed/feature.server.js +2 -1
- package/dist/field/features/toolbars/fixed/feature.server.js.map +1 -1
- package/dist/field/features/toolbars/inline/Toolbar/index.js +0 -1
- package/dist/field/features/toolbars/inline/Toolbar/index.js.map +1 -1
- package/dist/field/features/toolbars/inline/feature.server.d.ts.map +1 -1
- package/dist/field/features/toolbars/inline/feature.server.js +2 -1
- package/dist/field/features/toolbars/inline/feature.server.js.map +1 -1
- package/dist/field/features/toolbars/shared/ToolbarButton/index.js +0 -1
- package/dist/field/features/toolbars/shared/ToolbarButton/index.js.map +1 -1
- package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts +1 -2
- package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.d.ts.map +1 -1
- package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js +1 -2
- package/dist/field/features/toolbars/shared/ToolbarDropdown/DropDown.js.map +1 -1
- package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js +1 -2
- package/dist/field/features/toolbars/shared/ToolbarDropdown/index.js.map +1 -1
- package/dist/field/features/types.d.ts +1 -3
- package/dist/field/features/types.d.ts.map +1 -1
- package/dist/field/features/types.js.map +1 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts +1 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.d.ts.map +1 -1
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js +3 -10
- package/dist/field/features/upload/component/ExtraFieldsDrawer/index.js.map +1 -1
- package/dist/field/features/upload/component/index.d.ts.map +1 -1
- package/dist/field/features/upload/component/index.js +1 -9
- package/dist/field/features/upload/component/index.js.map +1 -1
- package/dist/field/features/upload/drawer/index.js +1 -1
- package/dist/field/features/upload/drawer/index.js.map +1 -1
- package/dist/field/features/upload/feature.server.d.ts +1 -1
- package/dist/field/features/upload/feature.server.d.ts.map +1 -1
- package/dist/field/features/upload/feature.server.js +3 -2
- package/dist/field/features/upload/feature.server.js.map +1 -1
- package/dist/field/features/upload/nodes/UploadNode.d.ts +1 -2
- package/dist/field/features/upload/nodes/UploadNode.d.ts.map +1 -1
- package/dist/field/features/upload/nodes/UploadNode.js.map +1 -1
- package/dist/field/features/upload/plugin/index.js +1 -1
- package/dist/field/features/upload/plugin/index.js.map +1 -1
- package/dist/field/features/upload/validate.js +1 -1
- package/dist/field/features/upload/validate.js.map +1 -1
- package/dist/field/index.d.ts.map +1 -1
- package/dist/field/index.js +35 -99
- package/dist/field/index.js.map +1 -1
- package/dist/field/lexical/LexicalEditor.js +1 -2
- package/dist/field/lexical/LexicalEditor.js.map +1 -1
- package/dist/field/lexical/LexicalProvider.d.ts +1 -2
- package/dist/field/lexical/LexicalProvider.d.ts.map +1 -1
- package/dist/field/lexical/LexicalProvider.js +1 -1
- package/dist/field/lexical/LexicalProvider.js.map +1 -1
- package/dist/field/lexical/config/server/loader.d.ts +1 -1
- package/dist/field/lexical/config/server/loader.d.ts.map +1 -1
- package/dist/field/lexical/config/server/loader.js.map +1 -1
- package/dist/field/lexical/config/server/sanitize.d.ts +1 -1
- package/dist/field/lexical/config/server/sanitize.d.ts.map +1 -1
- package/dist/field/lexical/config/server/sanitize.js.map +1 -1
- package/dist/field/lexical/nodes/index.d.ts.map +1 -1
- package/dist/field/lexical/nodes/index.js.map +1 -1
- package/dist/field/lexical/plugins/SlashMenu/index.js +2 -3
- package/dist/field/lexical/plugins/SlashMenu/index.js.map +1 -1
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js +0 -1
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.js.map +1 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js +0 -1
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.js.map +1 -1
- package/dist/field/lexical/theme/EditorTheme.js +0 -1
- package/dist/field/lexical/theme/EditorTheme.js.map +1 -1
- package/dist/field/lexical/ui/ContentEditable.js +0 -1
- package/dist/field/lexical/ui/ContentEditable.js.map +1 -1
- package/dist/generateComponentMap.d.ts +1 -1
- package/dist/generateComponentMap.d.ts.map +1 -1
- package/dist/generateComponentMap.js.map +1 -1
- package/dist/generateSchemaMap.d.ts +1 -1
- package/dist/generateSchemaMap.d.ts.map +1 -1
- package/dist/generateSchemaMap.js.map +1 -1
- package/dist/index.d.ts +0 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -22
- package/dist/index.js.map +1 -1
- package/dist/populateGraphQL/populate.d.ts +1 -1
- package/dist/populateGraphQL/populate.d.ts.map +1 -1
- package/dist/populateGraphQL/populate.js +1 -1
- package/dist/populateGraphQL/populate.js.map +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.d.ts.map +1 -1
- package/dist/populateGraphQL/populateLexicalPopulationPromises.js.map +1 -1
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts +1 -2
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.d.ts.map +1 -1
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js +1 -1
- package/dist/populateGraphQL/recursivelyPopulateFieldsForGraphQL.js.map +1 -1
- package/dist/types.d.ts +1 -3
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/useLexicalFeature.d.ts.map +1 -1
- package/dist/useLexicalFeature.js +1 -3
- package/dist/useLexicalFeature.js.map +1 -1
- package/dist/validate/index.d.ts +1 -1
- package/dist/validate/index.d.ts.map +1 -1
- package/dist/validate/index.js.map +1 -1
- package/dist/validate/validateNodes.d.ts +1 -1
- package/dist/validate/validateNodes.d.ts.map +1 -1
- package/dist/validate/validateNodes.js.map +1 -1
- package/package.json +22 -22
- package/components.d.ts +0 -6
- package/components.js +0 -7
- package/dist/exports/components.d.ts +0 -11
- package/dist/exports/components.d.ts.map +0 -1
- package/dist/exports/components.js +0 -12
- package/dist/exports/components.js.map +0 -1
- package/dist/field/features/blocks/component/index.scss +0 -149
- package/dist/field/features/debug/testRecorder/plugin/index.scss +0 -49
- package/dist/field/features/debug/treeView/plugin/index.scss +0 -78
- package/dist/field/features/horizontalRule/plugin/index.scss +0 -20
- package/dist/field/features/link/drawer/index.scss +0 -50
- package/dist/field/features/link/plugins/floatingLinkEditor/index.scss +0 -86
- package/dist/field/features/migrations/lexicalPluginToLexical/nodes/unknownConvertedNode/index.scss +0 -14
- package/dist/field/features/migrations/slateToLexical/nodes/unknownConvertedNode/index.scss +0 -14
- package/dist/field/features/relationship/nodes/components/index.scss +0 -97
- package/dist/field/features/toolbars/fixed/Toolbar/index.scss +0 -119
- package/dist/field/features/toolbars/inline/Toolbar/index.scss +0 -53
- package/dist/field/features/toolbars/shared/ToolbarButton/index.scss +0 -39
- package/dist/field/features/toolbars/shared/ToolbarDropdown/index.scss +0 -112
- package/dist/field/features/upload/component/index.scss +0 -152
- package/dist/field/index.scss +0 -25
- package/dist/field/lexical/LexicalEditor.scss +0 -49
- package/dist/field/lexical/plugins/SlashMenu/index.scss +0 -61
- package/dist/field/lexical/plugins/handles/AddBlockHandlePlugin/index.scss +0 -31
- package/dist/field/lexical/plugins/handles/DraggableBlockPlugin/index.scss +0 -72
- package/dist/field/lexical/theme/EditorTheme.scss +0 -509
- package/dist/field/lexical/ui/ContentEditable.scss +0 -76
- package/dist/scss/app.scss +0 -208
- package/dist/scss/colors.scss +0 -269
- package/dist/scss/queries.scss +0 -27
- package/dist/scss/resets.scss +0 -17
- package/dist/scss/styles.scss +0 -11
- package/dist/scss/svg.scss +0 -10
- package/dist/scss/toasts.scss +0 -111
- package/dist/scss/type.scss +0 -117
- package/dist/scss/vars.scss +0 -213
- package/dist/scss/z-index.scss +0 -9
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
.add-block-menu {
|
|
2
|
-
all: unset; // reset all default button styles
|
|
3
|
-
border-radius: 4px;
|
|
4
|
-
padding: 0;
|
|
5
|
-
cursor: pointer;
|
|
6
|
-
opacity: 0;
|
|
7
|
-
position: absolute;
|
|
8
|
-
left: 0;
|
|
9
|
-
top: 0;
|
|
10
|
-
will-change: transform;
|
|
11
|
-
|
|
12
|
-
&:hover {
|
|
13
|
-
background-color: var(--theme-elevation-100);
|
|
14
|
-
.icon {
|
|
15
|
-
opacity: 1;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.icon {
|
|
20
|
-
width: 18px;
|
|
21
|
-
height: 24px;
|
|
22
|
-
opacity: 0.3;
|
|
23
|
-
background-image: url(../../../ui/icons/Add/index.svg);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
html[data-theme='dark'] & {
|
|
27
|
-
.icon {
|
|
28
|
-
background-image: url(../../../ui/icons/Add/light.svg);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
@import '../../../../../scss/styles.scss';
|
|
2
|
-
|
|
3
|
-
.draggable-block-menu {
|
|
4
|
-
border-radius: 4px;
|
|
5
|
-
padding: 0;
|
|
6
|
-
cursor: grab;
|
|
7
|
-
opacity: 0;
|
|
8
|
-
position: absolute;
|
|
9
|
-
left: 0;
|
|
10
|
-
top: 0;
|
|
11
|
-
will-change: transform;
|
|
12
|
-
background-color: var(--theme-bg);
|
|
13
|
-
|
|
14
|
-
&:active {
|
|
15
|
-
cursor: grabbing;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&:hover {
|
|
19
|
-
background-color: var(--theme-elevation-100);
|
|
20
|
-
.icon {
|
|
21
|
-
opacity: 1;
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.icon {
|
|
26
|
-
width: 18px;
|
|
27
|
-
height: 24px;
|
|
28
|
-
opacity: 0.3;
|
|
29
|
-
background-image: url(../../../ui/icons/DraggableBlock/index.svg);
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
html[data-theme='dark'] & {
|
|
33
|
-
.icon {
|
|
34
|
-
background-image: url(../../../ui/icons/DraggableBlock/light.svg);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.rich-text-lexical--show-gutter > .rich-text-lexical__wrap > .editor-container > .editor-scroller > .editor {
|
|
40
|
-
> .draggable-block-target-line {
|
|
41
|
-
left: 3rem;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.draggable-block-target-line {
|
|
46
|
-
pointer-events: none;
|
|
47
|
-
background: var(--theme-elevation-200);
|
|
48
|
-
//border: 1px solid var(--theme-elevation-650);
|
|
49
|
-
border-radius: 4px;
|
|
50
|
-
height: 50px;
|
|
51
|
-
position: absolute;
|
|
52
|
-
left: 0;
|
|
53
|
-
top: 0;
|
|
54
|
-
opacity: 0;
|
|
55
|
-
will-change: transform;
|
|
56
|
-
transition: transform 0.04s;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/* This targets Firefox 57+. The transition looks ugly on firefox, thus we disable it here */
|
|
60
|
-
@-moz-document url-prefix() {
|
|
61
|
-
.draggable-block-target-line {
|
|
62
|
-
transition: none;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
.rich-text-lexical {
|
|
68
|
-
.ContentEditable__root > * {
|
|
69
|
-
will-change: margin-top, margin-bottom;
|
|
70
|
-
transition: margin-top 0.08s, margin-bottom 0.08s;
|
|
71
|
-
}
|
|
72
|
-
}
|
|
@@ -1,509 +0,0 @@
|
|
|
1
|
-
.LexicalEditorTheme {
|
|
2
|
-
&__ltr {
|
|
3
|
-
text-align: left;
|
|
4
|
-
}
|
|
5
|
-
&__ltr {
|
|
6
|
-
text-align: left;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
&__rtl {
|
|
10
|
-
text-align: right;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
&__paragraph {
|
|
14
|
-
margin: 0 0 1.5em;
|
|
15
|
-
position: relative;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
// No bottom margin for last paragraph in editor. This also created nice animations when adding a new line at the end
|
|
19
|
-
.ContentEditable__root > &__paragraph:last-child {
|
|
20
|
-
margin-bottom: 0;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
&__quote {
|
|
24
|
-
margin: 0 0 10px 20px;
|
|
25
|
-
font-size: 15px;
|
|
26
|
-
color: rgb(101, 103, 107);
|
|
27
|
-
border-left-color: rgb(206, 208, 212);
|
|
28
|
-
border-left-width: 4px;
|
|
29
|
-
border-left-style: solid;
|
|
30
|
-
padding-left: 16px;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
&__h1 {
|
|
34
|
-
font-size: 2.8rem;
|
|
35
|
-
line-height: 1.125;
|
|
36
|
-
color: rgb(5, 5, 5);
|
|
37
|
-
font-weight: 500;
|
|
38
|
-
margin-top: 2rem;
|
|
39
|
-
margin-bottom: 1rem;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&__h2 {
|
|
43
|
-
font-size: 2rem;
|
|
44
|
-
color: rgb(5, 5, 5);
|
|
45
|
-
font-weight: 700;
|
|
46
|
-
margin-top: 1.8rem;
|
|
47
|
-
margin-bottom: 1rem;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&__h3 {
|
|
51
|
-
font-size: 1.4rem;
|
|
52
|
-
color: rgb(101, 103, 107);
|
|
53
|
-
font-weight: 700;
|
|
54
|
-
margin-top: 1.4rem;
|
|
55
|
-
margin-bottom: 1rem;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&__indent {
|
|
59
|
-
--lexical-indent-base-value: 40px;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&__textBold {
|
|
63
|
-
font-weight: bold;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&__textItalic {
|
|
67
|
-
font-style: italic;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
&__textUnderline {
|
|
71
|
-
text-decoration: underline;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
&__textStrikethrough {
|
|
75
|
-
text-decoration: line-through;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&__textUnderlineStrikethrough {
|
|
79
|
-
text-decoration: underline line-through;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
&__textSubscript {
|
|
83
|
-
font-size: 0.8em;
|
|
84
|
-
vertical-align: sub !important;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&__textSuperscript {
|
|
88
|
-
font-size: 0.8em;
|
|
89
|
-
vertical-align: super;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
&__textCode {
|
|
93
|
-
background-color: rgb(240, 242, 245);
|
|
94
|
-
padding: 1px 0.25rem;
|
|
95
|
-
font-family: Menlo, Consolas, Monaco, monospace;
|
|
96
|
-
font-size: 94%;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&__hashtag {
|
|
100
|
-
background-color: rgba(88, 144, 255, 0.15);
|
|
101
|
-
border-bottom: 1px solid rgba(88, 144, 255, 0.3);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.ContentEditable__root &__link {
|
|
105
|
-
pointer-events: none;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&__link {
|
|
109
|
-
color: var(--color-blue-600);
|
|
110
|
-
text-decoration: none;
|
|
111
|
-
border-bottom: 1px dotted;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&__code {
|
|
115
|
-
/*background-color: rgb(240, 242, 245);*/
|
|
116
|
-
font-family: Menlo, Consolas, Monaco, monospace;
|
|
117
|
-
display: block;
|
|
118
|
-
padding: 8px 8px 8px 52px;
|
|
119
|
-
line-height: 1.53;
|
|
120
|
-
font-size: 13px;
|
|
121
|
-
margin: 8px 0;
|
|
122
|
-
tab-size: 2;
|
|
123
|
-
/* white-space: pre; */
|
|
124
|
-
overflow-x: auto;
|
|
125
|
-
position: relative;
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
&__code:before {
|
|
129
|
-
content: attr(data-gutter);
|
|
130
|
-
position: absolute;
|
|
131
|
-
/*background-color: #eee;*/
|
|
132
|
-
left: 0;
|
|
133
|
-
top: 0;
|
|
134
|
-
border-right: 1px solid #ccc;
|
|
135
|
-
padding: 8px;
|
|
136
|
-
color: #777;
|
|
137
|
-
white-space: pre-wrap;
|
|
138
|
-
text-align: right;
|
|
139
|
-
min-width: 25px;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
&__table {
|
|
143
|
-
border-collapse: collapse;
|
|
144
|
-
border-spacing: 0;
|
|
145
|
-
max-width: 100%;
|
|
146
|
-
overflow-y: scroll;
|
|
147
|
-
table-layout: fixed;
|
|
148
|
-
width: calc(100% - 25px);
|
|
149
|
-
margin: 30px 0;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&__tableSelected {
|
|
153
|
-
outline: 2px solid rgb(60, 132, 244);
|
|
154
|
-
}
|
|
155
|
-
|
|
156
|
-
&__tableCell {
|
|
157
|
-
border: 1px solid #bbb;
|
|
158
|
-
min-width: 75px;
|
|
159
|
-
vertical-align: top;
|
|
160
|
-
text-align: start;
|
|
161
|
-
padding: 6px 8px;
|
|
162
|
-
position: relative;
|
|
163
|
-
cursor: default;
|
|
164
|
-
outline: none;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
&__tableCellSortedIndicator {
|
|
168
|
-
display: block;
|
|
169
|
-
opacity: 0.5;
|
|
170
|
-
position: absolute;
|
|
171
|
-
bottom: 0;
|
|
172
|
-
left: 0;
|
|
173
|
-
width: 100%;
|
|
174
|
-
height: 4px;
|
|
175
|
-
background-color: #999;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
&__tableCellResizer {
|
|
179
|
-
position: absolute;
|
|
180
|
-
right: -4px;
|
|
181
|
-
height: 100%;
|
|
182
|
-
width: 8px;
|
|
183
|
-
cursor: ew-resize;
|
|
184
|
-
z-index: 10;
|
|
185
|
-
top: 0;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
&__tableCellHeader {
|
|
189
|
-
background-color: #f2f3f5;
|
|
190
|
-
text-align: start;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
&__tableCellSelected {
|
|
194
|
-
background-color: #c9dbf0;
|
|
195
|
-
}
|
|
196
|
-
|
|
197
|
-
&__tableCellPrimarySelected {
|
|
198
|
-
border: 2px solid rgb(60, 132, 244);
|
|
199
|
-
display: block;
|
|
200
|
-
height: calc(100% - 2px);
|
|
201
|
-
position: absolute;
|
|
202
|
-
width: calc(100% - 2px);
|
|
203
|
-
left: -1px;
|
|
204
|
-
top: -1px;
|
|
205
|
-
z-index: 2;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
&__tableCellEditing {
|
|
209
|
-
box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
|
|
210
|
-
border-radius: 3px;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
&__tableAddColumns {
|
|
214
|
-
position: absolute;
|
|
215
|
-
top: 0;
|
|
216
|
-
width: 20px;
|
|
217
|
-
background-color: #eee;
|
|
218
|
-
height: 100%;
|
|
219
|
-
right: 0;
|
|
220
|
-
animation: table-controls 0.2s ease;
|
|
221
|
-
border: 0;
|
|
222
|
-
cursor: pointer;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
&__tableAddColumns:hover {
|
|
226
|
-
background-color: #c9dbf0;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
&__tableAddRows {
|
|
230
|
-
position: absolute;
|
|
231
|
-
bottom: -25px;
|
|
232
|
-
width: calc(100% - 25px);
|
|
233
|
-
background-color: #eee;
|
|
234
|
-
height: 20px;
|
|
235
|
-
left: 0;
|
|
236
|
-
animation: table-controls 0.2s ease;
|
|
237
|
-
border: 0;
|
|
238
|
-
cursor: pointer;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
&__tableAddRows:hover {
|
|
242
|
-
background-color: #c9dbf0;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
@keyframes table-controls {
|
|
246
|
-
0% {
|
|
247
|
-
opacity: 0;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
100% {
|
|
251
|
-
opacity: 1;
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
&__tableCellResizeRuler {
|
|
256
|
-
display: block;
|
|
257
|
-
position: absolute;
|
|
258
|
-
width: 1px;
|
|
259
|
-
background-color: rgb(60, 132, 244);
|
|
260
|
-
height: 100%;
|
|
261
|
-
top: 0;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
&__tableCellActionButtonContainer {
|
|
265
|
-
display: block;
|
|
266
|
-
right: 5px;
|
|
267
|
-
top: 6px;
|
|
268
|
-
position: absolute;
|
|
269
|
-
z-index: 4;
|
|
270
|
-
width: 20px;
|
|
271
|
-
height: 20px;
|
|
272
|
-
}
|
|
273
|
-
|
|
274
|
-
&__tableCellActionButton {
|
|
275
|
-
background-color: #eee;
|
|
276
|
-
display: block;
|
|
277
|
-
border: 0;
|
|
278
|
-
border-radius: 20px;
|
|
279
|
-
width: 20px;
|
|
280
|
-
height: 20px;
|
|
281
|
-
color: #222;
|
|
282
|
-
cursor: pointer;
|
|
283
|
-
}
|
|
284
|
-
|
|
285
|
-
&__tableCellActionButton:hover {
|
|
286
|
-
background-color: #ddd;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
&__characterLimit {
|
|
290
|
-
display: inline;
|
|
291
|
-
background-color: #ffbbbb !important;
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
&__ol1 {
|
|
295
|
-
padding: 0;
|
|
296
|
-
list-style-position: outside;
|
|
297
|
-
margin: 0 0 1.5em;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
&__ol2 {
|
|
301
|
-
padding: 0;
|
|
302
|
-
margin: 0;
|
|
303
|
-
list-style-type: upper-alpha;
|
|
304
|
-
list-style-position: outside;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
&__ol3 {
|
|
308
|
-
padding: 0;
|
|
309
|
-
margin: 0;
|
|
310
|
-
list-style-type: lower-alpha;
|
|
311
|
-
list-style-position: outside;
|
|
312
|
-
}
|
|
313
|
-
|
|
314
|
-
&__ol4 {
|
|
315
|
-
padding: 0;
|
|
316
|
-
margin: 0;
|
|
317
|
-
list-style-type: upper-roman;
|
|
318
|
-
list-style-position: outside;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
&__ol5 {
|
|
322
|
-
padding: 0;
|
|
323
|
-
margin: 0;
|
|
324
|
-
list-style-type: lower-roman;
|
|
325
|
-
list-style-position: outside;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
&__ul {
|
|
329
|
-
padding: 0;
|
|
330
|
-
margin: 0 0 1.5em;
|
|
331
|
-
list-style-position: outside;
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
&__ul ul {
|
|
335
|
-
margin: 0;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
&__listItem {
|
|
339
|
-
margin: 0 0 0.4em 16px;
|
|
340
|
-
}
|
|
341
|
-
|
|
342
|
-
&__listItemChecked,
|
|
343
|
-
&__listItemUnchecked {
|
|
344
|
-
position: relative;
|
|
345
|
-
margin-left: 8px;
|
|
346
|
-
margin-right: 8px;
|
|
347
|
-
padding-left: 24px;
|
|
348
|
-
padding-right: 24px;
|
|
349
|
-
list-style-type: none;
|
|
350
|
-
outline: none;
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
&__listItemChecked {
|
|
354
|
-
text-decoration: line-through;
|
|
355
|
-
}
|
|
356
|
-
|
|
357
|
-
&__listItemUnchecked:before,
|
|
358
|
-
&__listItemChecked:before {
|
|
359
|
-
content: '';
|
|
360
|
-
width: 16px;
|
|
361
|
-
height: 16px;
|
|
362
|
-
top: 2px;
|
|
363
|
-
left: 0;
|
|
364
|
-
cursor: pointer;
|
|
365
|
-
display: block;
|
|
366
|
-
background-size: cover;
|
|
367
|
-
position: absolute;
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
&__listItemUnchecked[dir='rtl']:before,
|
|
371
|
-
&__listItemChecked[dir='rtl']:before {
|
|
372
|
-
left: auto;
|
|
373
|
-
right: 0;
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
&__listItemUnchecked:focus:before,
|
|
377
|
-
&__listItemChecked:focus:before {
|
|
378
|
-
box-shadow: 0 0 0 2px #a6cdfe;
|
|
379
|
-
border-radius: 2px;
|
|
380
|
-
}
|
|
381
|
-
|
|
382
|
-
&__listItemUnchecked:before {
|
|
383
|
-
border: 1px solid #999;
|
|
384
|
-
border-radius: 2px;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
&__listItemChecked:before {
|
|
388
|
-
border: 1px solid rgb(61, 135, 245);
|
|
389
|
-
border-radius: 2px;
|
|
390
|
-
background-color: #3d87f5;
|
|
391
|
-
background-repeat: no-repeat;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
&__listItemChecked:after {
|
|
395
|
-
content: '';
|
|
396
|
-
cursor: pointer;
|
|
397
|
-
border-color: #fff;
|
|
398
|
-
border-style: solid;
|
|
399
|
-
position: absolute;
|
|
400
|
-
display: block;
|
|
401
|
-
top: 6px;
|
|
402
|
-
width: 3px;
|
|
403
|
-
left: 7px;
|
|
404
|
-
right: 7px;
|
|
405
|
-
height: 6px;
|
|
406
|
-
transform: rotate(45deg);
|
|
407
|
-
border-width: 0 2px 2px 0;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
|
-
&__nestedListItem {
|
|
411
|
-
list-style-type: none;
|
|
412
|
-
}
|
|
413
|
-
|
|
414
|
-
&__nestedListItem:before,
|
|
415
|
-
&__nestedListItem:after {
|
|
416
|
-
display: none;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
&__tokenComment {
|
|
420
|
-
color: slategray;
|
|
421
|
-
}
|
|
422
|
-
|
|
423
|
-
&__tokenPunctuation {
|
|
424
|
-
color: #999;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
&__tokenProperty {
|
|
428
|
-
color: #905;
|
|
429
|
-
}
|
|
430
|
-
|
|
431
|
-
&__tokenSelector {
|
|
432
|
-
color: #690;
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
&__tokenOperator {
|
|
436
|
-
color: #9a6e3a;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
&__tokenAttr {
|
|
440
|
-
color: #07a;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
&__tokenVariable {
|
|
444
|
-
color: #e90;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
&__tokenFunction {
|
|
448
|
-
color: #dd4a68;
|
|
449
|
-
}
|
|
450
|
-
|
|
451
|
-
&__mark {
|
|
452
|
-
background: rgba(255, 212, 0, 0.14);
|
|
453
|
-
border-bottom: 2px solid rgba(255, 212, 0, 0.3);
|
|
454
|
-
padding-bottom: 2px;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
&__markOverlap {
|
|
458
|
-
background: rgba(255, 212, 0, 0.3);
|
|
459
|
-
border-bottom: 2px solid rgba(255, 212, 0, 0.7);
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
&__mark.selected {
|
|
463
|
-
background: rgba(255, 212, 0, 0.5);
|
|
464
|
-
border-bottom: 2px solid rgba(255, 212, 0, 1);
|
|
465
|
-
}
|
|
466
|
-
|
|
467
|
-
&__markOverlap.selected {
|
|
468
|
-
background: rgba(255, 212, 0, 0.7);
|
|
469
|
-
border-bottom: 2px solid rgba(255, 212, 0, 0.7);
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
&__embedBlock {
|
|
473
|
-
user-select: none;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
&__embedBlockFocus {
|
|
477
|
-
outline: 2px solid rgb(60, 132, 244);
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
html[data-theme='dark'] {
|
|
482
|
-
.LexicalEditorTheme {
|
|
483
|
-
&__h1,
|
|
484
|
-
&__h2 {
|
|
485
|
-
color: rgb(255, 255, 255);
|
|
486
|
-
}
|
|
487
|
-
|
|
488
|
-
&__h3 {
|
|
489
|
-
color: rgb(148, 151, 157);
|
|
490
|
-
}
|
|
491
|
-
|
|
492
|
-
&__link {
|
|
493
|
-
color: var(--color-blue-600);
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
&__tableCellHeader {
|
|
497
|
-
background-color: var(--theme-elevation-50);
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
&__quote {
|
|
501
|
-
color: rgb(193, 198, 206);
|
|
502
|
-
border-left-color: var(--theme-elevation-150);
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
&__textCode {
|
|
506
|
-
background-color: rgb(0, 0, 0);
|
|
507
|
-
}
|
|
508
|
-
}
|
|
509
|
-
}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
@import '../../../scss/styles.scss';
|
|
2
|
-
|
|
3
|
-
$lexical-contenteditable-top-padding: 8px;
|
|
4
|
-
$lexical-contenteditable-bottom-padding: 8px;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.ContentEditable__root {
|
|
8
|
-
border: 0;
|
|
9
|
-
font-size: 15px;
|
|
10
|
-
display: block;
|
|
11
|
-
position: relative;
|
|
12
|
-
tab-size: 1;
|
|
13
|
-
outline: 0;
|
|
14
|
-
padding-top: $lexical-contenteditable-top-padding;
|
|
15
|
-
padding-bottom: $lexical-contenteditable-bottom-padding;
|
|
16
|
-
//min-height: base(10);
|
|
17
|
-
|
|
18
|
-
&:focus-visible {
|
|
19
|
-
outline: none !important;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
& > * {
|
|
23
|
-
transition: transform 0.2s ease-in-out;
|
|
24
|
-
// will-change: transform; // breaks cursor rendering for empty paragraph blocks in safari, and creates other issues
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
@media (max-width: 768px) {
|
|
30
|
-
.ContentEditable__root {
|
|
31
|
-
padding-left: 0;
|
|
32
|
-
padding-right: 0;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@media (min-width: 769px) {
|
|
37
|
-
.rich-text-lexical--show-gutter > .rich-text-lexical__wrap > .editor-container > .editor-scroller > .editor {
|
|
38
|
-
> .ContentEditable__root {
|
|
39
|
-
padding-left: 3rem;
|
|
40
|
-
}
|
|
41
|
-
> .ContentEditable__root::before {
|
|
42
|
-
content: ' ';
|
|
43
|
-
position: absolute;
|
|
44
|
-
top: $lexical-contenteditable-top-padding;
|
|
45
|
-
left: 0;
|
|
46
|
-
height: calc(100% - #{$lexical-contenteditable-top-padding} - #{$lexical-contenteditable-bottom-padding});
|
|
47
|
-
border-left: 1px solid var(--theme-elevation-100);
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
html[data-theme='light'] {
|
|
53
|
-
.rich-text-lexical.rich-text-lexical--show-gutter {
|
|
54
|
-
&.error:not(:hover) {
|
|
55
|
-
> .rich-text-lexical__wrap > .editor-container > .editor-scroller > .editor > .ContentEditable__root::before {
|
|
56
|
-
border-left: 2px solid var(--theme-error-400);
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
&.error:hover {
|
|
61
|
-
> .rich-text-lexical__wrap > .editor-container > .editor-scroller > .editor > .ContentEditable__root::before {
|
|
62
|
-
border-left: 2px solid var(--theme-error-500);
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
html[data-theme='dark'] {
|
|
69
|
-
.rich-text-lexical.rich-text-lexical--show-gutter {
|
|
70
|
-
&.error {
|
|
71
|
-
> .rich-text-lexical__wrap > .editor-container > .editor-scroller > .editor > .ContentEditable__root::before {
|
|
72
|
-
border-left: 2px solid var(--theme-error-500);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
}
|