[Mozile] Mozile 0.7.5 integration
Josef Hahn
j-hahn at gmx.de
Wed May 3 17:44:41 EDT 2006
Hi Dennis,
I had a similar task / problem and I made a few changes in handling
newlines and splitting blocks, so the result is, that you not only can
make block level elements like divs to editable areas but all HTML-tags.
Newlines are inserted as <br> (when the enter-key is hit in a list, it
is split, shift+enter insert a <br> in <li>-elements).
I'm looking forward to post a link here, where you can download this
"Mozile (very) light" ;-) in the near future. Please give me a few days
to do this.
Best regards, Josef
Dennis Thrysøe schrieb:
> Hi,
>
> A while back I integrated what I believe is mozile version 0.7 into a
> project.
>
> In order to make this work there were certain changes I needed to make;
> both to fix some things that didn't work for me, and to make mozile do a
> little bit more for me :)
>
> To get rid of some of the cursor-related problems etc. with that version
> I'm now trying to integrate mozile 0.7.5 into the product instead.
>
> Many of my own changes aren't necesarry anymore, but there are a few
> issues left that I'm seeking a little help with:
>
> 1) In 0.7 there was an editorList that contained all of the editable DOM
> elements. Then and now I create the editors based on a CSS selector
> (*[contentEditable="true"]). Is there any good way to get these elements
> in 0.7.5. I just need a place to start (obtain the elements); from there
> I can write the handling myself.
>
> 2) I implemented custom disabling of linefeeds based on an attribute on
> the editable element. Is there a better way to do this nowadays?
>
> 3) The same goes for formatting in general (I had a text-only mode, so:
> no XHTML). Any better ways to do this based on an attribute on the
> "contentEditable" element?
>
>
> Any help appreciated.
>
> -dennis
>
> ---------------------------------------------------------------------------
> The information in this email is confidential and may be legally protected.
>
> _______________________________________________
> Mozile mailing list
> Mozile at mozdev.org
> http://mozdev.org/mailman/listinfo/mozile
>
>
More information about the Mozile
mailing list