TF1528: Auto down one line when typing
(cherry picked from commit 557bda15ce2acd3e911dd11348519adb99a5eff6)
This commit is contained in:
@@ -781,6 +781,7 @@ class ComposerView extends GetWidget<ComposerController>
|
|||||||
key: const Key('composer_editor_web'),
|
key: const Key('composer_editor_web'),
|
||||||
controller: controller.richTextWebController.editorController,
|
controller: controller.richTextWebController.editorController,
|
||||||
htmlEditorOptions: const HtmlEditorOptions(
|
htmlEditorOptions: const HtmlEditorOptions(
|
||||||
|
shouldEnsureVisible: true,
|
||||||
hint: '',
|
hint: '',
|
||||||
darkMode: false,
|
darkMode: false,
|
||||||
customBodyCssStyle: bodyCssStyleForEditor),
|
customBodyCssStyle: bodyCssStyleForEditor),
|
||||||
@@ -791,6 +792,7 @@ class ComposerView extends GetWidget<ComposerController>
|
|||||||
otherOptions: const OtherOptions(height: 550),
|
otherOptions: const OtherOptions(height: 550),
|
||||||
callbacks: Callbacks(onBeforeCommand: (currentHtml) {
|
callbacks: Callbacks(onBeforeCommand: (currentHtml) {
|
||||||
log('ComposerView::_buildHtmlEditor(): onBeforeCommand : $currentHtml');
|
log('ComposerView::_buildHtmlEditor(): onBeforeCommand : $currentHtml');
|
||||||
|
controller.richTextWebController.setFullScreenEditor();
|
||||||
controller.setTextEditorWeb(currentHtml);
|
controller.setTextEditorWeb(currentHtml);
|
||||||
}, onChangeContent: (changed) {
|
}, onChangeContent: (changed) {
|
||||||
log('ComposerView::_buildHtmlEditor(): onChangeContent : $changed');
|
log('ComposerView::_buildHtmlEditor(): onChangeContent : $changed');
|
||||||
|
|||||||
Reference in New Issue
Block a user