[go: nahoru, domu]

Skip to content

Commit

Permalink
Updated onDomLoaded() to enable multiline support for the content field
Browse files Browse the repository at this point in the history
  • Loading branch information
aforcier committed Apr 9, 2015
1 parent f1f933b commit e9c6401
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,8 @@ public void run() {
String title = "I'm editing a post!";
String contentHtml = getHtmlFromFile("example-content.html");

execJavaScriptFromString("ZSSEditor.getField('zss_field_content').setMultiline('true');");

// Load example content into editor
execJavaScriptFromString("ZSSEditor.getField('zss_field_title').setHTML('" +
Utils.escapeHtml(title) + "');");
Expand Down

0 comments on commit e9c6401

Please sign in to comment.