Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthoraxay
    • CommentTimeJul 20th 2006
     permalink
    hi, i am creating a cms. i have already created a wysiwyg editor toolbar. it has features to include a horizontal rule and table too. my issue is that after i carry out the insertnode() function to insert the required html element, the caret returns to a position before the node was inserted
    eg: This is sample text <hr />

    when i start typing, the text appear before the <hr /> eg: This is sample textthis is new text<hr />

    is there any way for me to push the caret to after the node so that future text can appear after the node. (Not an issue in IE, since i am using pasteHTML there)
    • CommentAuthorPettyRider
    • CommentTimeJul 21st 2006
     permalink
    I don't think there's anyway to offer any tips without knowing the nature of your WYSIWYG. Is it an iframe, textarea with preview, something else?
    • CommentAuthordhayes
    • CommentTimeJul 21st 2006 edited
     permalink
    see the insertAtCursor function at the bottom of this page.. might help.
Add your comments
    Username Password
  • Format comments as (Help)