Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Eran Meir 401 posts 543 karma points
    Jun 29, 2011 @ 20:25
    Eran Meir
    0

    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 ?

  • Daniel Bardi 927 posts 2562 karma points
    Jun 29, 2011 @ 20:39
    Daniel Bardi
    0

    Try alt-enter or shift-enter

  • Eran Meir 401 posts 543 karma points
    Jun 29, 2011 @ 20:42
    Eran Meir
    0

    alt enter doing nothing, shift enter just do <br>, any other suggestions?

  • Daniel Bardi 927 posts 2562 karma points
    Jun 29, 2011 @ 20:47
    Daniel Bardi
    1

    edit the html for the RTF and insert a <p></p> after the syntax highlither stuff.. update and you should be able to continue... 

  • Eran Meir 401 posts 543 karma points
    Jun 29, 2011 @ 20:52
    Eran Meir
    0

    the package already adds a <p></p> after the <pre> code, but i still have the problem

  • Ove Andersen 435 posts 1541 karma points c-trib
    Jul 26, 2011 @ 18:26
    Ove Andersen
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft