diff --git a/demo.html b/demo.html index 47c2310..31870c5 100644 --- a/demo.html +++ b/demo.html @@ -51,31 +51,6 @@

HTML output:

var editor = window.pell.init({ element: document.getElementById('pell'), styleWithCSS: false, - actions: [ - 'bold', - 'underline', - 'italic', - { - name: 'zitalic', - icon: 'Z', - title: 'Zitalic', - result: () => window.pell.exec('italic') - }, - { - name: 'image', - result: () => { - const url = window.prompt('Enter the image URL') - if (url) window.pell.exec('insertImage', ensureHTTP(url)) - } - }, - { - name: 'link', - result: () => { - const url = window.prompt('Enter the link URL') - if (url) window.pell.exec('createLink', ensureHTTP(url)) - } - } - ], onChange: function (html) { document.getElementById('text-output').innerHTML = html document.getElementById('html-output').textContent = html