Skip to content

Commit

Permalink
updated demo
Browse files Browse the repository at this point in the history
  • Loading branch information
tavaresasilva committed Oct 18, 2024
1 parent 4dc94f5 commit fa0d95e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
6 changes: 2 additions & 4 deletions demo/assets/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Johannes Editor</title><meta name="description" content="Johannes Editor is an open-source HTML text editor built with pure JavaScript, featuring a dependency-free, block-based system for adding rich text elements. Enjoy code blocks with syntax highlighting, content embedding like YouTube and Spotify, and a lightweight design without the need for front-end frameworks."><link rel="icon" href="assets/img/kepler.ico" type="image/x-icon"><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/styles/an-old-hope.min.css" integrity="sha512-t47CjkEB5hx4FojnE73dBLwgrgvLBpgsHvB40ycK3cYPkLwEp7qNHyRpRDA3/zVVAAOUPJwbMVJq3uJrBqpHVQ==" crossorigin="anonymous" referrerpolicy="no-referrer"/><script defer="defer" src="johannes-bundle.js"></script></head><body><div id="johannesEditor"></div><script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.10.0/highlight.min.js" integrity="sha512-6yoqbrcLAHDWAdQmiRlHG4+m0g/CT/V9AGyxabG8j7Jk8j3r3K6due7oqpiRMZqcYe9WM2gPcaNNxnl2ux+3tA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script></body><script>const editorConfig = {
<!doctype html><html lang="en"><head><meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Johannes Editor</title><meta name="description" content="Johannes Editor is an open-source HTML text editor built with pure JavaScript, featuring a dependency-free, block-based system for adding rich text elements. Enjoy code blocks with syntax highlighting, content embedding like YouTube and Spotify, and a lightweight design without the need for front-end frameworks."><link rel="icon" href="assets/img/kepler.ico" type="image/x-icon"><script defer="defer" src="johannes-bundle.js"></script></head><body><div id="johannesEditor"></div></body><script>const editorConfig = {
enableFloatingToolbar: true,
enableQuickMenu: true,
enableAddBlock: true,
Expand All @@ -9,6 +9,4 @@
title: undefined
};

window.editorConfig = editorConfig;

hljs.highlightAll();</script></html>
window.editorConfig = editorConfig;</script></html>
4 changes: 2 additions & 2 deletions demo/assets/johannes-bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions demo/johannes-bundle.js

Large diffs are not rendered by default.

0 comments on commit fa0d95e

Please sign in to comment.