mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
Consider dl as a block-level element.
This commit is contained in:
parent
1c91daa7be
commit
b16c295b98
|
@ -405,7 +405,7 @@ block
|
|||
/ comment &eolf
|
||||
/ para
|
||||
/ pre
|
||||
/ block_tag
|
||||
/ block_tag // TODO: handle nesting of inline content for these!
|
||||
/ (s:sol {
|
||||
if (s) {
|
||||
return [s, {type: 'NEWLINE'}];
|
||||
|
@ -786,7 +786,7 @@ block_tag
|
|||
|
||||
block_name
|
||||
= "p" / "table" / "td" / "tr" / "ul" / "ol"
|
||||
/ "li" / "dt" / "dd" / "div" / "center"
|
||||
/ "li" / "dl" / "dt" / "dd" / "div" / "center"
|
||||
/ "blockquote"
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue