There must be something that can be done about this problem.
Any insights!? Is it 'impossible'?
What needs to be done to make the ENTER button input <br> tags?
Any insights!? Is it 'impossible'?
What needs to be done to make the ENTER button input <br> tags?
RE: How can the <br> problem be properly solved!?
So, with this 'solution', enter doesn't put in a <br> tag but it behaves the same way, and that's what you want, right?
RE: How can the <br> problem be properly solved!?
Ex:
documentCode = Replace(documentCode, vbcrlf, "<BR>")
RE: How can the <br> problem be properly solved!?
Has anyone looked into capturing the keystroke and explictly inserting a <br>?
I am sure there has to be some issue with this or someone would have done it already.
Also like I said I think we could adda toolbar button or option to make enter either a single or double return. What do you think?
RE: How can the <br> problem be properly solved!?
The reality is that end user CAN control the <br> vs the <p> characters within the editor.
Shift + Enter = Line Break <br>
Shift = Paragraph <p>
You could simply add a little help icon that explains this to end users. I think it would be overkill to code a configuration setting for the Enter key.
RE: How can the <br> problem be properly solved!?
If we could setup the editor so that the web developer can configure the enter key to be a single return (<BR>) rather than a <P> (not using a stylesheet hack) it would be awesome. I know all of my users would like the editor to function like WORD not FRONTPAGE because that is what they are use to.
RE: How can the <br> problem be properly solved!?
RE: How can the <br> problem be properly solved!?
Shift + Enter = Line Break <br>
Enter = Paragraph <p>
RE: How can the <br> problem be properly solved!?
Take a look at version 1.3.1 and let me know.
Thanks for you messages,
FredCK
Frederico Knabben
CKEditor Project Lead and CKSource Owner
--
Follow us on: Twitter | Facebook | Google+ | LinkedIn
RE: How can the <br> problem be properly solved!?
When the user presses Enter a normal <p> would be inserted, but the css would make it look like a <br>. No parsing, no keystroke capture, and each line would be its own paragraph. that would be what Word does, no? Course, it would mean putting this new <p> in your css pages throughout your site.
Can anyone clarify? I reckon this is the best solution.