Hey guys, I have a instance where i'm using FCKEditor to create an HTML article. The users should be able to use the templates to pre-load templates we've created for them. That works out great, my challenge is that I'm actually REGEX'ing out the Title, subtitle, information out of the finalized HTML.
The method I was using was filling the FCKEditor with HTML... where the user would type in the "title" of the article i was placing a
<!-- startTitle -->Type in the title here<!-- endTitle -->
then i was regexing out the data between the two comments.
I've just found out that if the user backspaces to remove the initial text line "Type in the title here" then backspaces again, its actually removing the comment as well...
Is there a way that I can place a comment in there that the user will not be able to backspace past using the editor?
Thanks guys,
Jason
The method I was using was filling the FCKEditor with HTML... where the user would type in the "title" of the article i was placing a
<!-- startTitle -->Type in the title here<!-- endTitle -->
then i was regexing out the data between the two comments.
I've just found out that if the user backspaces to remove the initial text line "Type in the title here" then backspaces again, its actually removing the comment as well...
Is there a way that I can place a comment in there that the user will not be able to backspace past using the editor?
Thanks guys,
Jason