Closed crowjonah closed 9 years ago
this looks good. really appreciate this!!! and yeah we're a bit hesitant of doing much more in the backend. The focus for 2015 will be moving things to the front end. ;)
@crowjonah We probably don't need both methods of parsing the data in the same function, so I'll likely refactor this. Thanks!
Changed
html
method's internalparse
variable toparsed
to avoid collision with the shortcodeparse
method, which I use to get the title. Callingparse
on the shortcode data seems a little redundant, consideringhtml
runs a couple expressions on it already, but I'm not aware of the reasoning for some of the conditions in there, so I didn't want to oversimplify anything.Also added uglify task for tinymce plugins.
There might be some other components that would benefit from showing a little bit more data in the visual editor, but I'll leave that up to you!
Also, apologies if I botched the
sourceMap
.