From b634f2c564cf7b437e3d95c35f5a023409410ef4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Ku=CC=88hn?= Date: Wed, 26 Jun 2019 16:44:07 +0200 Subject: [PATCH] add default hide selection styling --- packages/tiptap/src/style.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/tiptap/src/style.css b/packages/tiptap/src/style.css index ee421fcd3..1b6d5edc5 100644 --- a/packages/tiptap/src/style.css +++ b/packages/tiptap/src/style.css @@ -35,6 +35,9 @@ } } +.ProseMirror-hideselection *::selection { background: transparent; } +.ProseMirror-hideselection *::-moz-selection { background: transparent; } + .ProseMirror-focused .ProseMirror-gapcursor { display: block; }