The editor for which this mode is created.
The options for the mode. Each mode defines what fields this object contains.
Check that the options are okay. This method will throw if there are any unexpected options or mandatory options are missing.
The options to check.
Returns a URL to the documentation for an element. The element should be named according to the mappings reported by the resolve returned by "wed/mode".Mode.getAbsoluteResolver. The generic mode delegates the call to the metadata.
The name of the element.
The URL. If the value returned is undefined
, then URL is not
available. If the value returned is null
, the URL has not been loaded
yet.
Gets the mode options. The returned object should be considered frozen. You may inspect it, not modify it.
Gets the options that the mode wants wed to use with this mode.
The options. Callers are not allowed to modify the value returned.
Returns a short description for an element. The element should be named according to the mappings reported by the resolve returned by "wed/mode".Mode.getAbsoluteResolver. The generic mode delegates the call to the metadata.
The name of the element.
The description. If the value returned is undefined
, then the
description is not available. If the value returned is null
, the
description has not been loaded yet.
Generated using TypeDoc
This mode is purely designed to help test wed, and nothing else. Don't derive anything from it and don't use it for editing.