Hi,
yes, I did that... it works for me. What's wrong there?
bye
Thorsten
Code Button
Moderator: Thorsten
Re: Code Button
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Code Button
For some reason it is eating the formatted code .. is it possible you missed committing a file?
I put into the code box
and this is was ended up (invisible) in the editor panel when I clicked update
as you can see it has mangled the php tags and the <pre> block itself is not visible in the editor.
I had a look at the html for the add page, the init for the editor does not seem to have been updated to cater for a code block, which is why I suspect you missed updating a file.
Larry
I put into the code box
Code: Select all
<?php
print( "Hello world" );
?>
Code: Select all
<pre class="brush: php;fontsize: 100; first-line: 1; "><!--p
print( "Hello world" );
-->
</pre>
I had a look at the html for the add page, the init for the editor does not seem to have been updated to cater for a code block, which is why I suspect you missed updating a file.
Larry
Re: Code Button
Hi,
I know about the <?php tags, this is a problem with TinyMCE which I cannot solve. The code itself is working for me...
bye
Thorsten
I know about the <?php tags, this is a problem with TinyMCE which I cannot solve. The code itself is working for me...
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: Code Button
oh oh oh .. you are right
OK will keep testing .. well I might install and add some real articles and see how it goes.
Thanks!
Larry

OK will keep testing .. well I might install and add some real articles and see how it goes.
Thanks!
Larry