@lobehub/editor 1.4.3 → 1.4.5
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.
|
@@ -4,5 +4,5 @@ import { createStyles } from 'antd-style';
|
|
|
4
4
|
export var useStyles = createStyles(function (_ref) {
|
|
5
5
|
var css = _ref.css,
|
|
6
6
|
token = _ref.token;
|
|
7
|
-
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n cursor: pointer;\n\n width: 100%;\n height: 4px;\n margin-block: calc(var(--lobe-markdown-margin-multiple) *
|
|
7
|
+
return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n cursor: pointer;\n\n width: 100%;\n height: 4px;\n margin-block: calc(var(--lobe-markdown-margin-multiple) * 1.5em);\n border-color: ", ";\n border-style: dashed;\n border-width: 1px;\n border-block-start: none;\n border-inline-start: none;\n border-inline-end: none;\n\n &.selected {\n border-color: ", ";\n }\n "])), token.colorBorder, token.yellow);
|
|
8
8
|
});
|
|
@@ -61,4 +61,4 @@ export interface EditorState {
|
|
|
61
61
|
* @param editor - Editor instance
|
|
62
62
|
* @returns Editor state and methods for toolbar functionality
|
|
63
63
|
*/
|
|
64
|
-
export declare function useEditorState(editor
|
|
64
|
+
export declare function useEditorState(editor?: IEditor): EditorState;
|
package/package.json
CHANGED