File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
app/src/main/kotlin/org/wordpress/aztec/demo Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ import org.wordpress.aztec.plugins.wpcomments.toolbar.PageToolbarButton
5959import org.wordpress.aztec.source.SourceViewEditText
6060import org.wordpress.aztec.toolbar.AztecToolbar
6161import org.wordpress.aztec.toolbar.IAztecToolbarClickListener
62+ import org.wordpress.aztec.toolbar.ToolbarAction
63+ import org.wordpress.aztec.toolbar.ToolbarItems
6264import org.wordpress.aztec.util.AztecLog
6365import org.xml.sax.Attributes
6466import java.io.File
@@ -90,6 +92,10 @@ open class MainActivity : AppCompatActivity(),
9092 private val UNDERLINE = " <u style=\" color:lime\" >Underline</u><br>"
9193 private val STRIKETHROUGH = " <s style=\" color:#ff666666\" class=\" test\" >Strikethrough</s><br>" // <s> or <strike> or <del>
9294 private val ORDERED = " <ol style=\" color:green\" ><li>Ordered</li><li>should have color</li></ol>"
95+ private val TASK_LIST = " <ul type=\" task-list\" >\n " +
96+ " <li><input type=\" checkbox\" class=\" task-list-item-checkbox\" >Unchecked</li>\n " +
97+ " <li><input type=\" checkbox\" class=\" task-list-item-checkbox\" checked>Checked</li>\n " +
98+ " </ul>"
9399 private val ORDERED_WITH_START = " <h4>Start in 10 List:</h4>" +
94100 " <ol start=\" 10\" >\n " +
95101 " <li>Ten</li>\n " +
@@ -186,6 +192,7 @@ open class MainActivity : AppCompatActivity(),
186192 ITALIC +
187193 UNDERLINE +
188194 STRIKETHROUGH +
195+ TASK_LIST +
189196 ORDERED +
190197 ORDERED_WITH_START +
191198 ORDERED_REVERSED +
You can’t perform that action at this time.
0 commit comments