Hi,
I was wondering if there were a reason why the custom code we write in specific pages do not show up in the editor, is this gonna change in the futur or will it stay like this forever ?
This can be annoying if we are using custom global css for example.
1 Like
I’m interested in this as well.
It’s by the nature of the editor. WeWeb as far as I know works as an iFrame in the editor, or something like that, so the code you paste in the editor doesn’t inherently apply to he page (the iframe). Works on the published site though.
You can workaround this by
- Embedding the custom JS with a workflow custom js action
- Place a HTML block and do your CSS there
To make JS possible in the editor, there is the NPM plugin.
You can also embed custom script tags in the page load event using the free weweb-embed tool that we made over at State Change. We made this specifically for this purpose - access in the editor along with the published site.
1 Like