Open Bug 238256 Opened 17 years ago Updated 2 years ago
Editor: Midas - it would be very nice to be able to edit an element
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040301 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7b) Gecko/20040301 Once the HTML element has been placed within the "designMode=on" area it would be very nice to be able to select it and extract its attributes through an execCommand call. I would envisage this might return some kind of data block containing the attributes. Reproducible: Always Steps to Reproduce: 1. 2. 3.
move unconfirmed midas bugs
Component: Browser-General → Editor: Core
This is an automated message, with ID "auto-resolve01". This bug has had no comments for a long time. Statistically, we have found that bug reports that have not been confirmed by a second user after three months are highly unlikely to be the source of a fix to the code. While your input is very important to us, our resources are limited and so we are asking for your help in focussing our efforts. If you can still reproduce this problem in the latest version of the product (see below for how to obtain a copy) or, for feature requests, if it's not present in the latest version and you still believe we should implement it, please visit the URL of this bug (given at the top of this mail) and add a comment to that effect, giving more reproduction information if you have it. If it is not a problem any longer, you need take no action. If this bug is not changed in any way in the next two weeks, it will be automatically resolved. Thank you for your help in this matter. The latest beta releases can be obtained from: Firefox: http://www.mozilla.org/projects/firefox/ Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html Seamonkey: http://www.mozilla.org/projects/seamonkey/
This feature would still be very nice to have.
Sorry, but I Can't understand what you mean. You already have all the DOM to access any item and get anything you want from any element, so there's no need to add any special execCommand call.
If you don't want to (or can't) learn and suffer a lot about how the DOM works it would be better for you to use an already developed editor like FCKeditor: http://www.fckeditor.net/demo/default.html , Xinha: http://xinha.gogo.co.nz/xinha-nightly/examples/full_example.html or TinyMCE: http://tinymce.moxiecode.com/example_full.php?example=true They already have lots of items in order to provide a full editor, usually they provide too much, but it's usually easier to cut down the parts that you don't want instead of having to learn a new topic and suffer the bugs. To learn about the DOM I think that there would be books, and some good references like this one: http://www.mozilla.org/docs/dom/domref/dom_shortTOC.html (maybe a new version is somewhere else)
Thanks for these. Some interesting stuff. I can learn and I fully intend to learn all that I can !! :-)
You need to log in before you can comment on or make changes to this bug.