Internal: Adjusted the code to changes required for replacing the `StylesProcessor` singleton with an instance of the class. See ckeditor/ckeditor5#6091.
@@ -49,7 +49,7 @@ export default class Clipboard extends Plugin {
* @private
* @member {module:engine/dataprocessor/htmldataprocessor~HtmlDataProcessor} #_htmlDataProcessor
*/
- this._htmlDataProcessor = new HtmlDataProcessor();
+ this._htmlDataProcessor = new HtmlDataProcessor( viewDocument );
view.addObserver( ClipboardObserver );