@wiris/mathtype-ckeditor5 7.27.1 → 7.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/plugin.js +3 -1
package/package.json
CHANGED
package/src/plugin.js
CHANGED
|
@@ -326,7 +326,9 @@ export default class MathType extends Plugin {
|
|
|
326
326
|
/* Although we use the HtmlDataProcessor to obtain the attributes,
|
|
327
327
|
we must create a new EmptyElement which is independent of the
|
|
328
328
|
DataProcessor being used by this editor instance */
|
|
329
|
-
return viewWriter.createEmptyElement('img', imgElement.getAttributes()
|
|
329
|
+
return viewWriter.createEmptyElement('img', imgElement.getAttributes(), {
|
|
330
|
+
renderUnsafeAttributes: [ 'src' ]
|
|
331
|
+
} );
|
|
330
332
|
}
|
|
331
333
|
|
|
332
334
|
// Model -> Editing view
|