Closed Bug 3827 Opened 26 years ago Closed 26 years ago

Need to initialize editor from an nsString

Categories

(Core :: DOM: Editor, defect, P2)

All
Mac System 8.5
defect

Tracking

()

VERIFIED DUPLICATE of bug 9749

People

(Reporter: sfraser_bugs, Assigned: akkzilla)

Details

jefft wrote: Another question, is it possible for the Ender to read in an html string buffer like in the old 4.5 code base ReadFromBuffer() routine? We need this in the editor interfaces. I guess we'll use one of mcmullen's streams. (nsStrStream or similar).
Status: NEW → ASSIGNED
Priority: P3 → P2
Hardware: Macintosh → All
Target Milestone: M4
Target Milestone: M4 → M5
Change Milestone to M5. Adding Akkana to the CC list
Target Milestone: M5 → M6
Not sure I'll get to this by M5. Is this blocking anyone?
I don't think we have any M5 commitments which depend on this.
Assignee: sfraser → akkana
Status: ASSIGNED → NEW
Reassign.
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
Further discussion between gecko people and mail/news people revealed that this was contrary to the W3C dom plans and isn't really needed for mailnews anyway; so the current plan is that we're not going to do it. You can always break up big messages into smaller chunks and insert the chunks one by one if need be.
What about the orginal question of feeding in html string fragments? Is it there yet?
Status: RESOLVED → REOPENED
Summary: Need to feed editor an HTML stream → Need to initialize editor from an nsString
Target Milestone: M6 → M7
Resolution: WONTFIX → ---
We can't insert html fragments yet; that's waiting on some work from the parser (optimistically on the M7 schedule list at the moment). But we might be able to initialize the whole document from an nsString instead of a file; I'll take a look at that. Reopening and changing summary to reflect the original question.
Clearing resolution.
Status: REOPENED → ASSIGNED
Target Milestone: M7 → M9
HTML fragments are currently on our schedule for M9 (though we may be able to get them in for M8).
Status: ASSIGNED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → DUPLICATE
This is an old bug and most of the newline issues have been fixed. But there are still a few, which I'll be addressing for bug 9749. Since this bug doesn't have any specifics, I'll dup this one to that one. *** This bug has been marked as a duplicate of 9749 ***
Status: RESOLVED → VERIFIED
verified this is a DUP...7/24 build.
You need to log in before you can comment on or make changes to this bug.