Copied to clipboard

Flag this post as spam?

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


  • Robin Overgaard 33 posts 73 karma points
    Mar 13, 2010 @ 14:38
    Robin Overgaard
    0

    Macros, Parameter type and Richtext editors

    Hi Guys

    I am in a bit of a problem.
    I am trying to create an tooltip macro to use in a richtext editor.

    Here is how its suppose to work:

    • Take the normally displayed text as a parameter.
    • popuptext should be specified as a parameter, which would ideally be an richtext editor, but dont seems to be possible.
    • it should function as an inline element, IE: it should not be wrapped in a p tag, or even force text before and after to have an enclosing p tag.

    So far it manage to make it work as a text field, and a multiline text field, however any html code entered in the multiline text field, screws up the macro completely, and also I have to edit the html source of the richtext editor manually to remove the p tags..

    Would it be possible to make this macro behave userfriendly ? IE no manual editing of html source.

    Would it be possible to use a richtext editor inside the macro editing ?

    How would I in my xslt allow for html elements and still keep the macro from failing ?

    /Robin

Please Sign in or register to post replies

Write your reply to:

Draft