Expand all

ve.ui.MWAlienExtensionInspector

Extends

Constructor

new ve.ui.MWAlienExtensionInspector([config]) #

Inspector for editing alienated MediaWiki extensions.

Parameters:

Name Type Attributes Description
config Object optional

Configuration options

Source:
Inspector for editing alienated MediaWiki extensions.

Properties

allowedEmpty #

Extension is allowed to have empty contents

Properties:

Type Description
boolean
Inherited from:
Mixes in:
Source:
Extension is allowed to have empty contents

dir #

Inspector's directionality, 'ltr' or 'rtl'

Leave as null to use the directionality of the current fragment.

Properties:

Type Description
string | null
Inherited from:
Mixes in:
Source:

Inspector's directionality, 'ltr' or 'rtl'

Leave as null to use the directionality of the current fragment.

selfCloseEmptyBody #

Tell Parsoid to self-close tags when the body is empty

i.e. <foo></foo> -> <foo/>

Properties:

Type Description
boolean
Inherited from:
Mixes in:
Source:

Tell Parsoid to self-close tags when the body is empty

i.e.

Methods