Skip to content

Commit 69a8863

Browse files
committed
Initialize visual editor from the same var as source
1 parent 5400bf9 commit 69a8863

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/kotlin/org/wordpress/aztec/demo/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -418,7 +418,7 @@ open class MainActivity : AppCompatActivity(),
418418
}
419419

420420
if (savedInstanceState == null) {
421-
aztec.visualEditor.fromHtml(aztec.sourceEditor?.getPureHtml()!!)
421+
aztec.visualEditor.fromHtml(EXAMPLE)
422422
aztec.initSourceEditorHistory()
423423
}
424424

0 commit comments

Comments
 (0)