I've noticed some strange behaviour in how the paragraph formatting behaves:
If i have 3 lines of text separated by blank lines and with the cursor on the first line click one of the paragraph justification buttons, the entire contents of the editor are centered as opposed to just the current line. Most (if not all) text editors (Word, UltraEdit) only apply the formatting to the current line. The same problem exists when I select one of the lines and click justify.
Anyone else experienced this? Smells like a bug to me but maybe I'm missing something...?
Cheers,
Brandon
If i have 3 lines of text separated by blank lines and with the cursor on the first line click one of the paragraph justification buttons, the entire contents of the editor are centered as opposed to just the current line. Most (if not all) text editors (Word, UltraEdit) only apply the formatting to the current line. The same problem exists when I select one of the lines and click justify.
Anyone else experienced this? Smells like a bug to me but maybe I'm missing something...?
Cheers,
Brandon

RE: Problem with paragraph formatting
RE: Problem with paragraph formatting
RE: Problem with paragraph formatting
RE: Problem with paragraph formatting
I have tested with Word and the results are the same: different paragraphs can have any alignment, but a new line created with Shift+Enter keeps the previous alignment.
RE: Problem with paragraph formatting
FCKConfig.UseBROnCarriageReturn = true ;
set in my fckconfig.js so <br> elements are being inserted between "paragrahps" in my text. Without the config set this way if I hit a CR I end up getting an extra blank line where I simply wanted to start a new line.
So those of us who use <BR> for CR essentially can't have paragraph formatting based on a selection or current line?
RE: Problem with paragraph formatting