Closed stefanor closed 4 years ago
Rather than using inline scripts to configure markitup editors, just apply some attributes to the widget, so we can locate it later in the DOM.
This means jQuery doesn't have to be loaded before the MarkItUpWidget is rendered on a page, all scripts can be loaded in the document foot.
Fixes: #25
Rather than using inline scripts to configure markitup editors, just apply some attributes to the widget, so we can locate it later in the DOM.
This means jQuery doesn't have to be loaded before the MarkItUpWidget is rendered on a page, all scripts can be loaded in the document foot.
Fixes: #25