File tree 2 files changed +15
-7
lines changed
2 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 9
9
"allowedDomains" : [
10
10
" https://figma.com" ,
11
11
" https://*.amplitude.com" ,
12
+ " https://builder.io" ,
12
13
" https://*.builder.io" ,
13
14
" https://www.googletagmanager.com" ,
14
15
" https://*.openai.com" ,
18
19
"devAllowedDomains" : [
19
20
" https://figma.com" ,
20
21
" https://*.amplitude.com" ,
22
+ " https://builder.io" ,
21
23
" https://*.builder.io" ,
22
24
" https://www.googletagmanager.com" ,
23
25
" https://*.openai.com" ,
Original file line number Diff line number Diff line change @@ -567,14 +567,20 @@ class App extends SafeComponent {
567
567
} ;
568
568
569
569
this . isValidImport = null ;
570
- parent . postMessage (
571
- {
572
- pluginMessage : {
573
- type : "checkIfCanGetCode" ,
570
+ if ( this . useAbsolute ) {
571
+ // In the case of absolute import
572
+ // We don't care about autolayout
573
+ this . isValidImport = true ;
574
+ } else {
575
+ parent . postMessage (
576
+ {
577
+ pluginMessage : {
578
+ type : "checkIfCanGetCode" ,
579
+ } ,
574
580
} ,
575
- } ,
576
- "*"
577
- ) ;
581
+ "*"
582
+ ) ;
583
+ }
578
584
579
585
this . generatingCode = true ;
580
586
You can’t perform that action at this time.
0 commit comments