Skip to content

Commit

Permalink
updated the demo
Browse files Browse the repository at this point in the history
  • Loading branch information
tavaresasilva committed Sep 13, 2024
1 parent 34dbda6 commit 50ba9d1
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 7 deletions.
2 changes: 0 additions & 2 deletions demo/assets/bundle.js

This file was deleted.

2 changes: 1 addition & 1 deletion 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><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="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><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 = {
enableFloatingToolbar: true,
enableQuickMenu: true,
enableAddBlock: true,
Expand Down
2 changes: 2 additions & 0 deletions demo/assets/johannes-bundle copy.js

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions demo/bundle.js

This file was deleted.

3 changes: 2 additions & 1 deletion demo/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +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"><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="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><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 = {
enableFloatingToolbar: true,
enableQuickMenu: true,
enableAddBlock: true,
includeHeader: true,
includeFirstParagraph: true,
enableTitle: true,
enableThumbnail: true,
title: undefined
};

Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
devtool: 'inline-source-map',
output: {
clean: true,
filename: 'bundle.js',
filename: 'johannes-bundle.js',
path: path.resolve(__dirname, 'dist'),
},
resolve: {
Expand Down

0 comments on commit 50ba9d1

Please sign in to comment.