소스 검색

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