Преглед на файлове

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