mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-21 14:53:09 -05:00
Expose editor
global variable in Demo.html
For easier experimentation.
This commit is contained in:
parent
077d29e778
commit
4cecb3c366
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ white-space: pre-wrap;word-wrap: break-word;overflow-wrap: break-word;border-rad
|
|||
<script type="text/javascript" src="dist/squire-raw.js"></script>
|
||||
<script type="module" charset="utf-8">
|
||||
var div = document.getElementById( 'editor' );
|
||||
var editor = new Squire( div, {
|
||||
var editor = window.editor = new Squire( div, {
|
||||
blockTag: 'div',
|
||||
blockAttributes: {'class': 'paragraph'},
|
||||
tagAttributes: {
|
||||
|
|
Loading…
Reference in a new issue