fix: Remove automatic import
This commit is contained in:
parent
d24ca50d4c
commit
ccc32617d9
@ -2,7 +2,6 @@
|
|||||||
* @module YXml
|
* @module YXml
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { XmlElement } from 'yjs'
|
|
||||||
import {
|
import {
|
||||||
YXmlEvent,
|
YXmlEvent,
|
||||||
YXmlElement,
|
YXmlElement,
|
||||||
@ -222,7 +221,7 @@ export class YXmlFragment extends AbstractType {
|
|||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (filters.attributes && element instanceof XmlElement) {
|
if (filters.attributes && element instanceof YXmlElement) {
|
||||||
const attributes = element.getAttributes()
|
const attributes = element.getAttributes()
|
||||||
const keys = Object.keys(filters.attributes)
|
const keys = Object.keys(filters.attributes)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user