What we are trying to do is add a custom button that will allow a user to plug in PHP Code.
This is how we want it to work:
- In WYSIWYG Mode, the user clicks on php button icon in tool bar and where ever the cursor is, a php script icon should be inserted.
- Then switching to Code View Mode, the user should see the PHP Opening and closing tags to be able to insert php code.
If you need more information regarding this project, please PMB.