Explorar o código

Docs: Small fix.

Szymon Cofalik %!s(int64=5) %!d(string=hai) anos
pai
achega
36336fe79f

+ 2 - 2
packages/ckeditor5-engine/src/conversion/downcasthelpers.js

@@ -441,7 +441,7 @@ export default class DowncastHelpers extends ConversionHelpers {
 	 *			model: 'comment'
 	 *			view: markerName => ( {
 	 *				group: 'comment',
-	 *				name: markerName.substr( config.model.length + 1 )
+	 *				name: markerName.substr( 8 ) // Removes 'comment:' part.
 	 *			} )
 	 *		} );
 	 *
@@ -450,7 +450,7 @@ export default class DowncastHelpers extends ConversionHelpers {
 	 *			model: 'comment'
 	 *			view: markerName => ( {
 	 *				group: 'comment',
-	 *				name: markerName.substr( config.model.length + 1 )
+	 *				name: markerName.substr( 8 ) // Removes 'comment:' part.
 	 *			} ),
 	 *			converterPriority: 'high'
 	 *		} );