Kaynağa Gözat

Merge pull request #1741 from ckeditor/t/ckeditor5-enter/40

Docs: Add description for 'copyOnEnter' attribute's property.
Maciej 6 yıl önce
ebeveyn
işleme
9e7eae6f93
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      packages/ckeditor5-engine/src/model/schema.js

+ 1 - 0
packages/ckeditor5-engine/src/model/schema.js

@@ -1363,6 +1363,7 @@ export class SchemaContext {
  * @typedef {Object} module:engine/model/schema~AttributeProperties
  * @property {Boolean} [isFormatting] Indicates that the attribute should be considered as a visual formatting, like `bold`, `italic` or
  * `fontSize` rather than semantic attribute (such as `src`, `listType`, etc.). For example, it is used by the "Remove format" feature.
+ * @property {Boolean} [copyOnEnter] Indicates that given text attribute should be copied to the next block when enter is pressed.
  */
 
 function compileBaseItemRule( sourceItemRules, itemName ) {