diff --git a/src/patches/hideCaretAvatar.patch b/src/patches/hideCaretAvatar.patch new file mode 100644 index 00000000..0ff36198 --- /dev/null +++ b/src/patches/hideCaretAvatar.patch @@ -0,0 +1,13 @@ +diff --git a/js/3rdparty/webodf/editor/Editor.js b/js/3rdparty/webodf/editor/Editor.js +index 644f4b5..50881a2 100644 +--- a/js/3rdparty/webodf/editor/Editor.js ++++ b/js/3rdparty/webodf/editor/Editor.js +@@ -383,7 +383,7 @@ define("webodf/editor/Editor", [ + odfCanvas.addListener("statereadychange", function () { + var viewOptions = { + editInfoMarkersInitiallyVisible: collabEditing, +- caretAvatarsInitiallyVisible: collabEditing, ++ caretAvatarsInitiallyVisible: false, + caretBlinksOnRangeSelect: true + }; + \ No newline at end of file diff --git a/src/updateWebODF.sh b/src/updateWebODF.sh index b1172acd..608888bd 100755 --- a/src/updateWebODF.sh +++ b/src/updateWebODF.sh @@ -34,3 +34,4 @@ cp "$WEBODF_BUILDDIR"/programs/editor/editor.css ./css/3rdparty/webodf # patches against upstream patch -p1 -i src/patches/fontsCssPath.patch +patch -p1 -i src/patches/hideCaretAvatar.patch