ckeditor4 icon indicating copy to clipboard operation
ckeditor4 copied to clipboard

Method signatures for the `CKEDITOR.htmlDataProcessor` class don't match the `editor.dataProcessor` API

Open Enquier opened this issue 3 years ago • 1 comments

Type of report

Docs

Provide a description of requested docs changes

The method signatures of the htmlDataProcesser were updated in 4.3.0, but the documentation still shows the older "backwards compatible" method signatures

See: https://ckeditor.com/docs/ckeditor4/latest/api/CKEDITOR_htmlDataProcessor.html#method-toHtml

which has the now "options" field instead populated by an array.

Enquier avatar Dec 05 '22 20:12 Enquier

Thanks @Enquier, indeed I see that these signatures don't match with the CKEDITOR.htmlDataProcessor class - https://github.com/ckeditor/ckeditor4/blob/b520aa2b406091dd378f77b5173a6249a2ddef38/core/htmldataprocessor.js#L211-L238 I'm wondering if these couldn't be inherited using the @inheritdoc feature.

jacekbogdanski avatar Dec 06 '22 13:12 jacekbogdanski