File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,17 @@ class CoCreateServerSideRender {
23
23
if ( ignoreElement [ el . tagName ] )
24
24
continue ;
25
25
26
- if ( el . tagName == "DIV" && ! el . classList . contains ( 'domEditor ') )
26
+ if ( el . closest ( '.template, [template], template, [render] ') )
27
27
continue ;
28
28
29
- if ( el . classList . contains ( 'domEditor ') && el . closest ( '.template ') )
29
+ if ( el . hasAttribute ( 'render-selector ') || el . hasAttribute ( 'render- closest' ) || el . hasAttribute ( 'render-parent' ) || el . hasAttribute ( 'render-next' ) || el . hasAttribute ( 'render-next ') )
30
30
continue ;
31
31
32
- if ( el . hasAttribute ( 'actions ' ) )
32
+ if ( el . hasAttribute ( 'component' ) || el . hasAttribute ( 'plugin ') )
33
33
continue ;
34
34
35
+ if ( el . hasAttribute ( 'actions' ) )
36
+ continue ;
35
37
let _id = meta [ "document_id" ] ,
36
38
collection = meta [ 'collection' ] ,
37
39
name = meta [ 'name' ] ;
You can’t perform that action at this time.
0 commit comments