You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Go to file
Nicolas Sanchez f1329b8842
améliorations
3 years ago
pages améliorations 3 years ago
src changement de noms et correction ticket caractères accentués par composition 3 years ago
static améliorations 3 years ago
templates améliorations 3 years ago
.gitignore ihm javascript 3 years ago
Cargo.lock améliorations 3 years ago
Cargo.toml améliorations 3 years ago
README.md changement de noms et correction ticket caractères accentués par composition 3 years ago

README.md

cheezenotes

Notes utilisant la syntaxe MarkDown pour être rapide et facile à modifier. Idéal pour la prise de notes. Création dynamique de pages en créant un lien dans une page.

Ranges : https://stackoverflow.com/questions/6249095/how-to-set-the-caret-cursor-position-in-a-contenteditable-element-div

(?:^|\S): Match start or a non-whitespace :: Match a colon |: OR :: Match a colon (?:$|\S): Match end or a non-whitespace

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);

});