How to use php functions inside of editor iframe ???
Hi @roufriyas you can use PHP to render templates dynamically but it doesn't make sense use PHP functions inside the iframe (probably only as a variable placeholder). I'd recommend asking such a question in some WP related forum
Read full answer below βQuestion
Hi @artf, currently i am working on php,wordpress and grapesjs.What I wanted here is.., how can I add the php functions inside the iframe of the editor??? this is for getting the things same as that of wordpress used..! and is that possible, if i add something(wordpress styles) outside of the editor and that affects inside of the canvas??
Answers (2)
Hi @roufriyas you can use PHP to render templates dynamically but it doesn't make sense use PHP functions inside the iframe (probably only as a variable placeholder). I'd recommend asking such a question in some WP related forum
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #1339
how to load styles in editor ?
hi @artf , I am using grapesjs editor with wordpress. Is there any way to load the wordpress styles in that grapesjs editor ? because am lo...
Issue #563
Table <thead> and <tbody> tag gets Omitted
Hello, There is new issue with GrapesJS (maybe). I've created new component using bm.add() in which I've used a table element with <thead>...
Issue #1342
how to add a new class to the editor's iframe body?
hi, Is that possible to add a new css class to the body of editor's iframe ??
Issue #1984
Getting issue while click on edit option of image
Hey @artf , I see version release 0.14.57. In this version, you support to the image editor using this lib grapesjs-tui-image-editor.min.js...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins βPremium plugins ship with support, regular updates, and production-ready features β save days of integration work.
Browse premium plugins βRelated tutorials
In-depth guides on the same topic.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.