|
@@ -211,7 +211,7 @@ function getStyleButtonCreator( { editor, listStyleCommand, parentCommandName }
|
|
|
}
|
|
}
|
|
|
// If the style was the same, remove it (the button works as an off toggle).
|
|
// If the style was the same, remove it (the button works as an off toggle).
|
|
|
else {
|
|
else {
|
|
|
- editor.execute( 'listStyle', { type: 'default' } );
|
|
|
|
|
|
|
+ editor.execute( 'listStyle', { type: listStyleCommand._defaultType } );
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
// If the content the selection is anchored to is not a list, let's create a list of a desired style.
|
|
// If the content the selection is anchored to is not a list, let's create a list of a desired style.
|