Closed
Bug 168485
Opened 23 years ago
Closed 4 years ago
Want more editor API exposed to JS
Categories
(Core :: DOM: Editor, enhancement, P5)
Core
DOM: Editor
Tracking
()
RESOLVED
INVALID
People
(Reporter: neil, Unassigned)
Details
It's a bit of a slog doing arbitrary editing in JS. Exposing more of the helper
methods would be a great help. Such methods include (with current C++ object):
nsIEditor.MoveNode
nsIEditor.GetChildOffset
nsIEditor.RemoveContainer
nsIHTMLEditor.RemoveBlockContainer
No editor methods appear to reverse the effect of RemoveBlockContainer - at
least there doesn't appear to be an easy way to determine the first and last
nodes that should be put in the block :-(
Comment 1•23 years ago
|
||
ew! do we really want to do this? Can we come up with some commands to do instead?
OS: Windows 95 → All
Hardware: PC → All
Comment 2•23 years ago
|
||
I like the idea of exposing new stuff via commands rather than nsI*Editor APIs.
| Reporter | ||
Comment 3•23 years ago
|
||
Um, exactly how am I supposed to use a command to insert a container element?
Comment 4•23 years ago
|
||
plus, text services eventually needs this stuff plus exposure of nsRangeUpdater
Target Milestone: --- → Future
Updated•21 years ago
|
Product: Browser → Seamonkey
Updated•17 years ago
|
Assignee: mozeditor → nobody
QA Contact: sujay → composer
Target Milestone: Future → ---
Comment 5•16 years ago
|
||
MASS-CHANGE:
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.
If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.
Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
| Reporter | ||
Updated•16 years ago
|
Component: Composer → Editor
Product: SeaMonkey → Core
QA Contact: composer → editor
Comment 6•5 years ago
|
||
Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority.
If you have reason to believe this is wrong (especially for the severity), please write a comment and ni :jstutte.
Severity: normal → S4
Priority: -- → P5
Comment 7•4 years ago
|
||
Currently, we don't expose new API with XPCOM interface unless it's reqired by Thunderbird or SeaMonkey. If you are one of developers of them, please file a new bug to request every new API instead of this kind of meta like bug.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•