I wrote:
> >Is there any hope? Some JavaScript I can use to configure the editor, or 
> >some mechanism to "trick" the editor into staying in paragraph mode?

And Neil <[EMAIL PROTECTED]> replied:
> I believe that's controlled by a user preference, editor.CR_creates_new_p

Fantastic! Thank you for the response, which gave me the keyword I
needed for more searching.

Unfortunately, I think I'm getting all the CR_creates_new_p behavior
FireFox has to offer, and it isn't enough.

The preference and the bugs that discuss it (including 285873, 305893,
and 92686, all fixed and closed) slightly miss the mark. They talk
specifically about behavior when you press CR while in a <P> tag. The
behavior I'm talking about different: I want to start a new <P> when I
press CR while at the end of an <H1> line, and when I press CR twice
to exit a list (<UL> or <OL>). Today the text you type after those
operations appears at the top level of the HTML, outside of all tags -
most importantly, not inside a <P> tag.

And I'm talking about the rich-text editor widget you get with
designMode for through-the-web content editing (like wikis - is this
what's called "Midas"?), not in mail message or newsgroup message
composing or local web page creation.

Is this just a new bug I need to file and stir up discussion about?
Thanks.

-- Allan Pratt, [EMAIL PROTECTED]
_______________________________________________
dev-tech-editor mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-editor

Reply via email to