Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-01-24 15:49:10 +0300
committerJulius Härtl <jus@bitgrid.net>2020-01-27 14:54:46 +0300
commit4fac0dcc66dbe8761fcc0a2926d0f7fc72cf69cd (patch)
tree2128399df7d5c9a39968fb3e2d9fd997379d6f0b /src/EditorFactory.js
parentc5e2a7e8e27c4af69a581cfb272f82015a64d439 (diff)
Fix node selection and clicking links
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'src/EditorFactory.js')
-rw-r--r--src/EditorFactory.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/EditorFactory.js b/src/EditorFactory.js
index de0b03e8b..3a743f2b9 100644
--- a/src/EditorFactory.js
+++ b/src/EditorFactory.js
@@ -75,7 +75,9 @@ const createEditor = ({ content, onInit, onUpdate, extensions, enableRichEditing
new Blockquote(),
new CodeBlock(),
new ListItem(),
- new Link(),
+ new Link({
+ openOnClick: true
+ }),
new Image(),
new Placeholder({
emptyNodeClass: 'is-empty',