@ckeditor/ckeditor5-html-support
Advanced tools
Comparing version 29.0.0 to 29.1.0
{ | ||
"name": "@ckeditor/ckeditor5-html-support", | ||
"version": "29.0.0", | ||
"version": "29.1.0", | ||
"description": "HTML Support feature for CKEditor 5.", | ||
@@ -14,34 +14,40 @@ "keywords": [ | ||
"html support", | ||
"generic html support" | ||
"generic html support", | ||
"ckeditor5-dll" | ||
], | ||
"main": "src/index.js", | ||
"dependencies": { | ||
"ckeditor5": "^29.0.0", | ||
"ckeditor5": "^29.1.0", | ||
"lodash-es": "^4.17.15" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-alignment": "^29.0.0", | ||
"@ckeditor/ckeditor5-basic-styles": "^29.0.0", | ||
"@ckeditor/ckeditor5-block-quote": "^29.0.0", | ||
"@ckeditor/ckeditor5-cloud-services": "^29.0.0", | ||
"@ckeditor/ckeditor5-code-block": "^29.0.0", | ||
"@ckeditor/ckeditor5-core": "^29.0.0", | ||
"@ckeditor/ckeditor5-dev-utils": "^25.0.0", | ||
"@ckeditor/ckeditor5-easy-image": "^29.0.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^29.0.0", | ||
"@ckeditor/ckeditor5-engine": "^29.0.0", | ||
"@ckeditor/ckeditor5-essentials": "^29.0.0", | ||
"@ckeditor/ckeditor5-font": "^29.0.0", | ||
"@ckeditor/ckeditor5-highlight": "^29.0.0", | ||
"@ckeditor/ckeditor5-horizontal-line": "^29.0.0", | ||
"@ckeditor/ckeditor5-html-embed": "^29.0.0", | ||
"@ckeditor/ckeditor5-image": "^29.0.0", | ||
"@ckeditor/ckeditor5-indent": "^29.0.0", | ||
"@ckeditor/ckeditor5-link": "^29.0.0", | ||
"@ckeditor/ckeditor5-list": "^29.0.0", | ||
"@ckeditor/ckeditor5-page-break": "^29.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^29.0.0", | ||
"@ckeditor/ckeditor5-table": "^29.0.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^29.0.0", | ||
"@ckeditor/ckeditor5-utils": "^29.0.0", | ||
"@ckeditor/ckeditor5-alignment": "^29.1.0", | ||
"@ckeditor/ckeditor5-basic-styles": "^29.1.0", | ||
"@ckeditor/ckeditor5-block-quote": "^29.1.0", | ||
"@ckeditor/ckeditor5-cloud-services": "^29.1.0", | ||
"@ckeditor/ckeditor5-code-block": "^29.1.0", | ||
"@ckeditor/ckeditor5-core": "^29.1.0", | ||
"@ckeditor/ckeditor5-dev-utils": "^25.3.0", | ||
"@ckeditor/ckeditor5-easy-image": "^29.1.0", | ||
"@ckeditor/ckeditor5-editor-classic": "^29.1.0", | ||
"@ckeditor/ckeditor5-engine": "^29.1.0", | ||
"@ckeditor/ckeditor5-enter": "^29.1.0", | ||
"@ckeditor/ckeditor5-essentials": "^29.1.0", | ||
"@ckeditor/ckeditor5-font": "^29.1.0", | ||
"@ckeditor/ckeditor5-heading": "^29.1.0", | ||
"@ckeditor/ckeditor5-highlight": "^29.1.0", | ||
"@ckeditor/ckeditor5-horizontal-line": "^29.1.0", | ||
"@ckeditor/ckeditor5-html-embed": "^29.1.0", | ||
"@ckeditor/ckeditor5-image": "^29.1.0", | ||
"@ckeditor/ckeditor5-indent": "^29.1.0", | ||
"@ckeditor/ckeditor5-link": "^29.1.0", | ||
"@ckeditor/ckeditor5-list": "^29.1.0", | ||
"@ckeditor/ckeditor5-media-embed": "^29.1.0", | ||
"@ckeditor/ckeditor5-page-break": "^29.1.0", | ||
"@ckeditor/ckeditor5-paragraph": "^29.1.0", | ||
"@ckeditor/ckeditor5-paste-from-office": "^29.1.0", | ||
"@ckeditor/ckeditor5-source-editing": "^29.1.0", | ||
"@ckeditor/ckeditor5-table": "^29.1.0", | ||
"@ckeditor/ckeditor5-theme-lark": "^29.1.0", | ||
"@ckeditor/ckeditor5-utils": "^29.1.0", | ||
"webpack": "^4.43.0", | ||
@@ -61,3 +67,3 @@ "webpack-cli": "^3.3.11" | ||
"url": "https://github.com/ckeditor/ckeditor5.git", | ||
"directory": "packages/ckeditor5-language" | ||
"directory": "packages/ckeditor5-html-support" | ||
}, | ||
@@ -68,3 +74,4 @@ "files": [ | ||
"theme", | ||
"build" | ||
"build", | ||
"ckeditor5-metadata.json" | ||
], | ||
@@ -71,0 +78,0 @@ "scripts": { |
@@ -12,7 +12,7 @@ CKEditor 5 HTML Support feature | ||
Check out the demo in the [General HTML Support feature](https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html) guide. | ||
Check out the demo in the [General HTML Support feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html#demo). | ||
## Documentation | ||
See the [`@ckeditor/ckeditor5-html-support` package](https://ckeditor.com/docs/ckeditor5/latest/api/html-support.html) page as well as the [General HTML Support feature guide](https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html) in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). | ||
See the [`@ckeditor/ckeditor5-html-support` package](https://ckeditor.com/docs/ckeditor5/latest/api/html-support.html) page as well as the [General HTML Support feature](https://ckeditor.com/docs/ckeditor5/latest/features/general-html-support.html) guide in [CKEditor 5 documentation](https://ckeditor.com/docs/ckeditor5/latest/). | ||
@@ -19,0 +19,0 @@ ## License |
@@ -194,2 +194,6 @@ /** | ||
* Set by {@link module:html-support/dataschema~DataSchema#registerBlockElement} method. | ||
* @property {String} [paragraphLikeModel] Should be used when an element can behave both as a sectioning element (e.g. article) and | ||
* element accepting only inline content (e.g. paragraph). | ||
* If an element contains only inline content, this option will be used as a model | ||
* name. | ||
* @extends module:html-support/dataschema~DataSchemaDefinition | ||
@@ -196,0 +200,0 @@ */ |
@@ -11,4 +11,7 @@ /** | ||
import { Plugin } from 'ckeditor5/src/core'; | ||
import DataFilter from './datafilter'; | ||
import CodeBlockHtmlSupport from './integrations/codeblock'; | ||
import TableElementSupport from './integrations/table'; | ||
import CodeBlockElementSupport from './integrations/codeblock'; | ||
import DualContentModelElementSupport from './integrations/dualcontent'; | ||
@@ -31,2 +34,17 @@ /** | ||
/** | ||
* @inheritDoc | ||
*/ | ||
static get requires() { | ||
return [ | ||
DataFilter, | ||
TableElementSupport, | ||
CodeBlockElementSupport, | ||
DualContentModelElementSupport | ||
]; | ||
} | ||
/** | ||
* @inheritDoc | ||
*/ | ||
init() { | ||
@@ -40,12 +58,2 @@ const editor = this.editor; | ||
} | ||
/** | ||
* @inheritDoc | ||
*/ | ||
static get requires() { | ||
return [ | ||
DataFilter, | ||
CodeBlockHtmlSupport | ||
]; | ||
} | ||
} | ||
@@ -52,0 +60,0 @@ |
@@ -13,1 +13,2 @@ /** | ||
export { default as DataSchema } from './dataschema'; | ||
export { default as HtmlComment } from './htmlcomment'; |
@@ -21,3 +21,6 @@ /** | ||
*/ | ||
export default class CodeBlockHtmlSupport extends Plugin { | ||
export default class CodeBlockElementSupport extends Plugin { | ||
/** | ||
* @inheritDoc | ||
*/ | ||
static get requires() { | ||
@@ -27,2 +30,5 @@ return [ DataFilter ]; | ||
/** | ||
* @inheritDoc | ||
*/ | ||
init() { | ||
@@ -29,0 +35,0 @@ if ( !this.editor.plugins.has( 'CodeBlockEditing' ) ) { |
@@ -90,2 +90,26 @@ /** | ||
}, | ||
{ | ||
model: 'table', | ||
view: 'table' | ||
}, | ||
{ | ||
model: 'tableRow', | ||
view: 'tr' | ||
}, | ||
{ | ||
model: 'tableCell', | ||
view: 'td' | ||
}, | ||
{ | ||
model: 'tableCell', | ||
view: 'th' | ||
}, | ||
{ | ||
model: 'caption', | ||
view: 'caption' | ||
}, | ||
{ | ||
model: 'caption', | ||
view: 'figcaption' | ||
}, | ||
@@ -244,6 +268,6 @@ // Compatibility features | ||
}, | ||
// TODO can also include text. | ||
{ | ||
model: 'htmlDiv', | ||
view: 'div', | ||
paragraphLikeModel: 'htmlDivParagraph', | ||
modelSchema: { | ||
@@ -250,0 +274,0 @@ inheritAllFrom: '$htmlSection' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
129083
21
2590
31
Updatedckeditor5@^29.1.0