TF-3177 Fix drag and dropping images sometimes breaks UI in composer on web
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -194,7 +194,9 @@ class RichTextWebController extends BaseRichTextController {
|
|||||||
listTextStyleApply.contains(richTextStyleType);
|
listTextStyleApply.contains(richTextStyleType);
|
||||||
|
|
||||||
void insertImage(InlineImage inlineImage) {
|
void insertImage(InlineImage inlineImage) {
|
||||||
editorController.insertHtml("<div>${inlineImage.base64Uri ?? ''}</div><br>");
|
editorController.insertImage(
|
||||||
|
"<div>${inlineImage.base64Uri ?? ''}</div><br>",
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
void applyNewFontStyle(FontNameType? newFont) {
|
void applyNewFontStyle(FontNameType? newFont) {
|
||||||
|
|||||||
+2
-2
@@ -1252,10 +1252,10 @@ packages:
|
|||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: main
|
ref: main
|
||||||
resolved-ref: d23d675f8e3f7d8909abb9707aa2700437673d01
|
resolved-ref: "27272e278bcd94d48522ce1944f8650c9366e51a"
|
||||||
url: "https://github.com/linagora/html-editor-enhanced.git"
|
url: "https://github.com/linagora/html-editor-enhanced.git"
|
||||||
source: git
|
source: git
|
||||||
version: "3.1.8"
|
version: "3.1.9"
|
||||||
html_unescape:
|
html_unescape:
|
||||||
dependency: transitive
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
|
|||||||
Reference in New Issue
Block a user