Skip to content

Commit

Permalink
Updated demo
Browse files Browse the repository at this point in the history
  • Loading branch information
tavaresasilva committed Jul 26, 2024
1 parent 9a0003d commit ebfb27a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
4 changes: 2 additions & 2 deletions demo/assets/bundle.js

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion demo/assets/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Johannes Editor</title><link rel="icon" href="assets/img/kepler.ico" type="image/x-icon"><script defer="defer" src="bundle.js"></script></head><body><div id="johannesEditor"><div class="title"><h1 contenteditable="true" data-placeholder="Untitled"></h1></div><div class="content"><div class="block deletable"><p class="johannes-content-element focusable swittable key-trigger editable" data-type="p" contenteditable="true" data-placeholder="Write something or type / (slash) to choose a block..." tabindex="0"></p></div></div></div></body></html>
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Johannes Editor</title><link rel="icon" href="assets/img/kepler.ico" type="image/x-icon"><script defer="defer" src="bundle.js"></script></head><body><div id="johannesEditor"></div></body><script>const editorConfig = {
enableFloatingToolbar: true,
enableQuickMenu: true,
enableAddBlock: true,
includeHeader: true,
includeFirstParagraph: true,
enableTitle: true,
title: undefined
};

window.editorConfig = editorConfig;</script></html>

0 comments on commit ebfb27a

Please sign in to comment.