hey, first of all let me mention that this is a great package but i do have one problem. after i add some code with the package and i click on enter, the new line still continues to be with the design of the syntax highlighter and i need to edit the html to remove it? is there any trick to solve it ?
The problem here is TinyMCE not this package. You would get the same problem when inserting a table.
The solution is to add a <p> tag til Daniel Bardi suggests. An easier way to do it is to make a paragraph by pressing enter a few times above your code part. Then cut and paste the code into the paragraph you just made. You should now have a paragraph below the code part which you can do stuff with.
stop syntext highligher on new line
hey, first of all let me mention that this is a great package but i do have one problem.
after i add some code with the package and i click on enter, the new line still continues to be with the design of the syntax highlighter and i need to edit the html to remove it? is there any trick to solve it ?
Try alt-enter or shift-enter
alt enter doing nothing, shift enter just do <br>, any other suggestions?
edit the html for the RTF and insert a <p></p> after the syntax highlither stuff.. update and you should be able to continue...
the package already adds a <p></p> after the <pre> code, but i still have the problem
The problem here is TinyMCE not this package. You would get the same problem when inserting a table.
The solution is to add a <p> tag til Daniel Bardi suggests. An easier way to do it is to make a paragraph by pressing enter a few times above your code part.
Then cut and paste the code into the paragraph you just made. You should now have a paragraph below the code part which you can do stuff with.
is working on a reply...