Sfoglia il codice sorgente

Add allowedAttributes to RestrictedEditingModeConfig docs.

Maciej Gołaszewski 6 anni fa
parent
commit
a3fdd20532

+ 2 - 1
packages/ckeditor5-restricted-editing/src/restrictededitingmode.js

@@ -56,7 +56,8 @@ export default class RestrictedEditingMode extends Plugin {
  *		ClassicEditor
  *			.create( {
  * 				restrictedEditing: {
- * 					allowedCommands: [ 'bold', 'italic' ]
+ * 					allowedCommands: [ 'bold', 'italic' ],
+ * 					allowedAttributes: [ 'bold', 'italic' ]
  * 				}
  *			} )
  *			.then( ... )