Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion lurchmath/editor.js
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,12 @@ window.Lurch = {
menu : menuData,
browser_spellcheck: true,
contextmenu : 'atoms',
plugins : 'lists link',
plugins : 'lists link save',
link_context_toolbar: true,
statusbar : false,
save_onsavecallback: editor => {
editor.execCommand('savedocument')
},
setup : editor => {
// Save the options object for any part of the app to reference:
editor.appOptions = options
Expand Down