You are not logged in.
Hello
I have tried Xinha and I'm quite impressed! But I would like to use Xinha to edit PHP files. What I need it to do is to enable me to edit PHP files in plain text when I'm editing the source and when I'm editing in non HTML source mode, I would need the page to be parsed. Is that possible?
Example, when in source mode, I write <?php echo 'Hello World'; ?> in between two divs. When I come back to WYSIWIG mode, I would need to see the two divs and Hello World between them.
Is this possible?
Thank you!
Offline
I suppose the short answer is theoretically, yes, but I am pretty sure Xinha does not support anything like this currently. That would be an interesting plugin: To have the editor send the document to the PHP parser before displaying. I am sure it is something one could do, but right now I am not aware of Xinha having this capability.
Offline
Possibly could be done similar to the PreserveScripts plugin (currently only in nightly), involving XMLHttpRequest and eval'ing the content on the server.
Offline