Commit 3aa4f709 by Яков

update

parent c25fc29a
{ {
"name": "react-ag-qeditor", "name": "react-ag-qeditor",
"version": "1.1.13", "version": "1.1.14",
"description": "WYSIWYG html editor", "description": "WYSIWYG html editor",
"author": "atma", "author": "atma",
"license": "MIT", "license": "MIT",
......
...@@ -17,7 +17,7 @@ export const ToggleBlockComponent = ({node, updateAttributes, getPos, editor}) = ...@@ -17,7 +17,7 @@ export const ToggleBlockComponent = ({node, updateAttributes, getPos, editor}) =
useEffect(() => { useEffect(() => {
if (measurerRef.current) { if (measurerRef.current) {
const width = measurerRef.current.offsetWidth + 20 // небольшой запас const width = measurerRef.current.offsetWidth + 100 // небольшой запас
setInputWidth(`${width}px`) setInputWidth(`${width}px`)
} }
}, [title]) }, [title])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment