Commit c2aa6805 by yakoff94

fix bug chrome

parent 349b5d41
......@@ -284,7 +284,7 @@ const QEditor = ({
onClick: () => {
editor.commands.setTextAlign('left');
//так надо, даже не вникай, фикс бага в хроме
//так надо, даже не вникай, фикс бага в хроме при выравнивании картинки
setTimeout(()=>{
editor.commands.setTextAlign('left');
editor.chain().focus().run()
......@@ -296,7 +296,7 @@ const QEditor = ({
onClick: () => {
editor.commands.setTextAlign('center');
//так надо, даже не вникай, фикс бага в хроме
//так надо, даже не вникай, фикс бага в хроме при выравнивании картинки
setTimeout(()=>{
editor.commands.setTextAlign('center');
editor.chain().focus().run()
......@@ -308,7 +308,7 @@ const QEditor = ({
onClick: () => {
editor.commands.setTextAlign('right');
//так надо, даже не вникай, фикс бага в хроме
//так надо, даже не вникай, фикс бага в хроме при выравнивании картинки
setTimeout(()=>{
editor.commands.setTextAlign('right');
editor.chain().focus().run()
......
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