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 fd93accf32
changements cosmétiques
3 years ago
pages javascript presque au top, mais nécessite une refactorisation 3 years ago
src javascript presque au top, mais nécessite une refactorisation 3 years ago
static changements cosmétiques 3 years ago
templates javascript presque au top, mais nécessite une refactorisation 3 years ago
.gitignore ihm javascript 3 years ago
Cargo.lock implémentation partielle des tableaux 3 years ago
Cargo.toml implémentation partielle des tableaux 3 years ago
README.md implémentation partielle des tableaux 3 years ago

README.md

mdnotes

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

});