docs/_snippets/framework/extending-content-arbitrary-attribute-values.js
Function HandleFontSizeValue
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function HandleFontSizeValue( editor ) {
// Add a special catch-all converter for the font size feature.
editor.conversion.for( 'upcast' ).elementToAttribute( {
view: {
name: 'span',