If the user types in ':' at the beginning of a line, make it a blockquote

Depends on I9507219 in VE-core.

Change-Id: I2e3219b473799194f8d305d228fc9eb3403921a8
This commit is contained in:
James D. Forrester 2014-11-25 17:13:11 -08:00 committed by Catrope
parent 566c6d1972
commit e314ed9938

View file

@ -33,5 +33,5 @@ ve.ui.sequenceRegistry.register(
new ve.ui.Sequence( 'wikitextDefinition', 'mwWikitextWarning', [ { type: 'paragraph' }, ';' ] ) new ve.ui.Sequence( 'wikitextDefinition', 'mwWikitextWarning', [ { type: 'paragraph' }, ';' ] )
); );
ve.ui.sequenceRegistry.register( ve.ui.sequenceRegistry.register(
new ve.ui.Sequence( 'wikitextDescription', 'mwWikitextWarning', [ { type: 'paragraph' }, ':' ] ) new ve.ui.Sequence( 'wikitextDescription', 'blockquote', [ { type: 'paragraph' }, ':' ], 1 )
); );