diff --git a/rich-html-editor/src/main/assets/editor_template.html b/rich-html-editor/src/main/assets/editor_template.html index b9594a1..701a2e0 100644 --- a/rich-html-editor/src/main/assets/editor_template.html +++ b/rich-html-editor/src/main/assets/editor_template.html @@ -26,7 +26,5 @@
- -
diff --git a/rich-html-editor/src/main/java/com/infomaniak/lib/richhtmleditor/RichHtmlEditorWebView.kt b/rich-html-editor/src/main/java/com/infomaniak/lib/richhtmleditor/RichHtmlEditorWebView.kt index 2b93046..0c1ebff 100644 --- a/rich-html-editor/src/main/java/com/infomaniak/lib/richhtmleditor/RichHtmlEditorWebView.kt +++ b/rich-html-editor/src/main/java/com/infomaniak/lib/richhtmleditor/RichHtmlEditorWebView.kt @@ -272,6 +272,9 @@ class RichHtmlEditorWebView @JvmOverloads constructor( } } + // Prevent scrolling bug that makes the editor twitch + override fun onOverScrolled(scrollX: Int, scrollY: Int, clampedX: Boolean, clampedY: Boolean) = Unit + @Deprecated( "Use setHtml() instead to initialize the editor with the desired HTML content.", ReplaceWith("setHtml()", "com.infomaniak.lib.richhtmleditor")