@ckeditor/ckeditor5-font
Advanced tools
Comparing version 21.0.0 to 22.0.0
{ | ||
"name": "@ckeditor/ckeditor5-font", | ||
"version": "21.0.0", | ||
"version": "22.0.0", | ||
"description": "Font feature for CKEditor 5.", | ||
@@ -13,11 +13,11 @@ "keywords": [ | ||
"dependencies": { | ||
"@ckeditor/ckeditor5-core": "^21.0.0", | ||
"@ckeditor/ckeditor5-ui": "^21.0.0", | ||
"@ckeditor/ckeditor5-utils": "^21.0.0" | ||
"@ckeditor/ckeditor5-core": "^22.0.0", | ||
"@ckeditor/ckeditor5-ui": "^22.0.0", | ||
"@ckeditor/ckeditor5-utils": "^22.0.0" | ||
}, | ||
"devDependencies": { | ||
"@ckeditor/ckeditor5-editor-classic": "^21.0.0", | ||
"@ckeditor/ckeditor5-engine": "^21.0.0", | ||
"@ckeditor/ckeditor5-highlight": "^21.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^21.0.0" | ||
"@ckeditor/ckeditor5-editor-classic": "^22.0.0", | ||
"@ckeditor/ckeditor5-engine": "^22.0.0", | ||
"@ckeditor/ckeditor5-highlight": "^22.0.0", | ||
"@ckeditor/ckeditor5-paragraph": "^22.0.0" | ||
}, | ||
@@ -24,0 +24,0 @@ "engines": { |
@@ -95,3 +95,3 @@ /** | ||
model: FONT_FAMILY, | ||
view: ( attributeValue, writer ) => { | ||
view: ( attributeValue, { writer } ) => { | ||
return writer.createAttributeElement( 'span', { style: 'font-family:' + attributeValue }, { priority: 7 } ); | ||
@@ -98,0 +98,0 @@ } |
@@ -120,3 +120,3 @@ /** | ||
model: FONT_SIZE, | ||
view: ( attributeValue, writer ) => { | ||
view: ( attributeValue, { writer } ) => { | ||
if ( !attributeValue ) { | ||
@@ -123,0 +123,0 @@ return; |
@@ -85,3 +85,3 @@ /** | ||
export function renderDowncastElement( styleAttr ) { | ||
return ( modelAttributeValue, viewWriter ) => viewWriter.createAttributeElement( 'span', { | ||
return ( modelAttributeValue, { writer } ) => writer.createAttributeElement( 'span', { | ||
style: `${ styleAttr }:${ modelAttributeValue }` | ||
@@ -88,0 +88,0 @@ }, { priority: 7 } ); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
182803
83
+ Added@ckeditor/ckeditor5-core@22.0.0(transitive)
+ Added@ckeditor/ckeditor5-engine@22.0.0(transitive)
+ Added@ckeditor/ckeditor5-ui@22.0.0(transitive)
+ Added@ckeditor/ckeditor5-utils@22.0.0(transitive)
- Removed@ckeditor/ckeditor5-core@21.0.0(transitive)
- Removed@ckeditor/ckeditor5-engine@21.0.0(transitive)
- Removed@ckeditor/ckeditor5-ui@21.0.0(transitive)
- Removed@ckeditor/ckeditor5-utils@21.0.0(transitive)