The block.defaultType parameter may be used to query or set the default block type. The default block type is used when no block type is specified. Many of the default editor actions use the default block type to determine how they should behave.
query command
set command
current parameter
default parameter
install parameter
block.defaultType is scoped to the current view.
current.block.defaultType is scoped to the current view.
default.block.defaultType is globally scoped.
install.block.defaultType is globally scoped.
query block.defaultType set block.defaultType [ default | stream | character | rectangle | element ] query current.block.defaultType query default.block.defaultType set default.block.defaultType [ install | stream | character | rectangle | element ] query install.block.defaultType
default | If you specify the default parameter for the set block.defaultType command, the current view will use the value of default.block.defaultType for the default block type. |
stream | If you specify the stream parameter for the set block.defaultType command, the current view will use stream as the default block type. If you specify the stream parameter for the set default.block.defaultType command, all of the document views that have block.defaultType set to default will use stream as the default block type. |
character | If you specify the character parameter for the set block.defaultType command, the current view will use character as the default block type. If you specify the character parameter for the set default.block.defaultType command, all of the document views that have block.defaultType set to default will use character as the default block type. |
rectangle | If you specify the rectangle parameter for the set block.defaultType command, the current view will use rectangle as the default block type. If you specify the rectangle parameter for the set default.block.defaultType command, all of the document views that have block.defaultType set to default will use rectangle as the default block type. |
element | If you specify the element parameter for the set block.defaultType command, the current view will use element as the default block type. If you specify the element parameter for the set default.block.defaultType command, all of the document views that have block.defaultType set to default will use element as the default block type. |
install | If you specify the install parameter for the set default.block.defaultType command, all of the views that have block.defaultType set to default will use the value of install.block.defaultType for the default block type. |
If you do not specify any of the parameters for the set block.defaultType command, default is assumed.
If you do not specify any of the parameters for the set default.block.defaultType command, install is assumed.
The query current.block.defaultType command will return the default block type for the current view. That is, it will return one of stream, character, rectangle, or element.
query block.defaultType set block.defaultType character query current.block.defaultType query default.block.defaultType set default.block.defaultType rectangle query install.block.defaultType
block command
query command
set command
current parameter
default parameter
install parameter
blockMarkAll action
blockMarkBottom action
blockMarkDown action
blockMarkEnd action
blockMarkHome action
blockMarkLeft action
blockMarkNextWord action
blockMarkPageDown action
blockMarkPageLeft action
blockMarkPageRight action
blockMarkPageUp action
blockMarkPrevWord action
blockMarkRight action
blockMarkToMouse action
blockMarkTop action
blockMarkUp action
blockMarkWord action
blockMarkWordAtMouse action