New editor written in Python dialect
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
589 B

from browser import window
from model import Model
from view import View
from update import update
from export import export_to_xml
from message.simple_messages import Reset
model = Model()
def plugin_init(div, _entry, editable):
view = View(div)
def plugin_render(_div, entry):
def plugin_save(_div):
return export_to_xml(model)
# export!
window.plugin_init = plugin_init
window.plugin_render = plugin_render
window.plugin_save = plugin_save