Commit 3aa4f709 by Яков

update

parent c25fc29a
{
"name": "react-ag-qeditor",
"version": "1.1.13",
"version": "1.1.14",
"description": "WYSIWYG html editor",
"author": "atma",
"license": "MIT",
......
......@@ -17,7 +17,7 @@ export const ToggleBlockComponent = ({node, updateAttributes, getPos, editor}) =
useEffect(() => {
if (measurerRef.current) {
const width = measurerRef.current.offsetWidth + 20 // небольшой запас
const width = measurerRef.current.offsetWidth + 100 // небольшой запас
setInputWidth(`${width}px`)
}
}, [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