From 4ec16adc1f9dd17844ff8652e2273ffb6378df25 Mon Sep 17 00:00:00 2001 From: sanchezn Date: Fri, 3 Mar 2023 09:25:33 +0000 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'README.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/README.md b/README.md index d03f685..eb9beef 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ -cheezenotes -====== +# cheezenotes Notes utilisant la syntaxe MarkDown pour être rapide et facile à modifier. Idéal pour la prise de notes. @@ -16,14 +15,3 @@ https://stackoverflow.com/questions/6249095/how-to-set-the-caret-cursor-position Javascript Mutex.mutex() -## traiter le copier/coller -editor.addEventListener("paste", function(e) { - // cancel paste - e.preventDefault(); - - // get text representation of clipboard - var text = (e.originalEvent || e).clipboardData.getData('text/plain'); - - // insert text manually - document.execCommand("insertHTML", false, text); -});