Skip to content

Commit 54d20a7

Browse files
committed
Added title to editor example content
1 parent 124981c commit 54d20a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

WordPressEditor/src/main/java/org/wordpress/android/editor/EditorFragment.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,8 @@ public void run() {
198198
AppLog.e(T.EDITOR, e.getMessage());
199199
}
200200

201-
// Load example file into editor content field
201+
// Load example content into editor
202+
mWebView.loadUrl("JavaScript:ZSSEditor.getField('zss_field_title').setHTML('" + "I\\'m editing a post!" + "');");
202203
mWebView.loadUrl("JavaScript:ZSSEditor.getField('zss_field_content').setHTML('" + htmlFile + "');");
203204
}
204205
});

0 commit comments

Comments
 (0)