LemoniscooL
Member
Hi!
I talked to Basti about this already because i had some trouble with this .. i was writing a tutorial page for a plugin i wrote and had some problems printing HTML or PHP code onto the screen in a nice looking, formatted way with some highlighting inside.
In the end i had to write the whole HTML for the custom page in my extern text editor and copy&paste it into the HTML edit function of a clean custom page.
See below for the tag i used for the code tag, maybe you like it, maybe not. Anyways i would really like a button inside the editor to add those more easily.
Aside of the code tag, maybe you could change the way the editor saves/loads the html code.
As far as i could see HTML special chars like > or < are converted into < or > when re-opening the editor again which makes it pretty hard to edit my custom page. As i still have to edit it inside my extern text editor and replace the whole html code again for every small change.
Just a suggestion
greetz
LemoniscooL
I talked to Basti about this already because i had some trouble with this .. i was writing a tutorial page for a plugin i wrote and had some problems printing HTML or PHP code onto the screen in a nice looking, formatted way with some highlighting inside.
In the end i had to write the whole HTML for the custom page in my extern text editor and copy&paste it into the HTML edit function of a clean custom page.
See below for the tag i used for the code tag, maybe you like it, maybe not. Anyways i would really like a button inside the editor to add those more easily.
Code:
<pre style="font-size: 11.5px; border: 1px solid #CECFCE; background: #EFEFEF; padding: 25px;-webkit-border-radius: 10px; -moz-border-radius: 10px; border-radius: 10px; width:70%; margin: 0 auto;"> [Put some code here :)] </pre>
As far as i could see HTML special chars like > or < are converted into < or > when re-opening the editor again which makes it pretty hard to edit my custom page. As i still have to edit it inside my extern text editor and replace the whole html code again for every small change.
Just a suggestion
greetz
LemoniscooL