I am trying to simply paste text from Notepad and then format certain pieces of that text with some heading tags but am having difficulty doing it.
A sample of what I paste:
This Line Will Be the Subheading
This is where the text will go below the sub-heading. Sometimes it is one sentence while other times it is three or four.
My problem is that after pasting the text into the editor, I will go and highlight the first line "This Line Will Be the Subheading". Then, I will select a format like "Heading 4" and instead of just that line taking the format, the entire paragraph gets formatted. It appears as though upon the paste, it puts <p> tags around everything so then the format applies to everything within the <P> tag. I even tried pasting the heading line separately.
Is this a way around this?
Thanks in advance,
Greg
A sample of what I paste:
This Line Will Be the Subheading
This is where the text will go below the sub-heading. Sometimes it is one sentence while other times it is three or four.
My problem is that after pasting the text into the editor, I will go and highlight the first line "This Line Will Be the Subheading". Then, I will select a format like "Heading 4" and instead of just that line taking the format, the entire paragraph gets formatted. It appears as though upon the paste, it puts <p> tags around everything so then the format applies to everything within the <P> tag. I even tried pasting the heading line separately.
Is this a way around this?
Thanks in advance,
Greg
Re: Paste Text and Format issue
This one issue is holding me from deploying the website. I may have to go to a flash based editor if I cant find a resolution. If anyone knows which of the source code handles converting the line feeds to BR tags let me know and I will change it on my site.
Re: Paste Text and Format issue
hey guys, ive found the solution and posted it within the other topic.... (so lets move this discussion to the other topic here: viewtopic.php?f=6&t=6336&p=17547#p17547)
Re: Paste Text and Format issue
Greg