]> git.0d.be Git - chloro.git/commitdiff
editor: add support for lists
authorFrédéric Péters <fpeters@0d.be>
Sat, 16 Jul 2022 21:08:42 +0000 (23:08 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sat, 16 Jul 2022 21:08:42 +0000 (23:08 +0200)
chloro/phyll/static/js/chloro.js

index a21cb1ea337733cf53f02e4213e6c0dad2a45c52..48f53a9cf431c4fc080167614ae8a782e28f3e04 100644 (file)
@@ -2,6 +2,7 @@
   var Phylly = {
     BLOCKS: [
           {name: 'code', tag: 'PRE', klass: 'screen'},
+          {name: 'list', special: 'list', tag: 'UL', klass: 'list'},
           {name: 'figure', special: 'img', tag: 'DIV', subtag: true, klass: 'figure'},
           {name: 'note', tag: 'DIV', subtag: true, klass: 'note'},
           {name: 'quote', tag: 'BLOCKQUOTE', subtag: true, klass: 'quote'},