Closed Bug 238256 Opened 21 years ago Closed 5 months ago

Editor: Midas - it would be very nice to be able to edit an element

Categories

(Core :: DOM: Editor, enhancement)

x86
Linux
enhancement

Tracking

()

RESOLVED WONTFIX

People

(Reporter: osavill, Unassigned)

Details

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
Assignee: general → mozeditor
QA Contact: general → bugzilla
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.
I'm not sure how to achieve this ! I am a lowly web author !! Please tell me as I would love to know and increase my knowledge. What I was meaning that for people like me whose DOM knowledge is limited it would be great to be able to right click inside an element and be provided with a context right click menu similar to what Composer does. E.g. right clicking inside a table might produce a context menu with Table Cell Properties, Table Insert, Table Select, Table Delete and Table or Cell Background Colour. This may be well beyond the scope of MIDAS so I'll happily settle for guidance on how to achieve these through the DOM and JavaScript. This is after all a wish list item.
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 !! :-)
QA Contact: bugzilla → editor
Assignee: mozeditor → nobody
Severity: normal → S3

We have no plan to extend browser UI for editable elements because such strong editing abirities may cause web apps getting unexpected input result from users so that it may cause breaking web apps in the wild.

Status: UNCONFIRMED → RESOLVED
Closed: 5 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.