Expand all

mw.libs.ve.MWEditModeVisualTool

Extends

Constructor

new mw.libs.ve.MWEditModeVisualTool(toolGroup, [config]) #

Parameters:

Name Type Attributes Description
toolGroup OO.ui.ToolGroup
config Object optional

Config options

Source:
MediaWiki edit mode visual tool.

Methods

getMode() → {string} #

Get current edit mode

Inherited from:
Source:

Returns:

Current edit mode

Type
string
Get current edit mode

isModeAvailable(Edit) → {boolean} #

Check if edit mode is available

Parameters:

Name Type Description
Edit string

mode

Inherited from:
Source:

Returns:

Edit mode is available

Type
boolean
Check if edit mode is available

switch() #

Switch editors