Преглед изворни кода

Add allowedAttributes to RestrictedEditingModeConfig docs.

Maciej Gołaszewski пре 6 година
родитељ
комит
a3fdd20532
1 измењених фајлова са 2 додато и 1 уклоњено
  1. 2 1
      packages/ckeditor5-restricted-editing/src/restrictededitingmode.js

+ 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( ... )