Closed Bug 6261 Opened 26 years ago Closed 26 years ago

(feature) insert/remove style sheet needs to be implemented

Categories

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

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: sujay, Assigned: kinmoz)

Details

using 5/11 build of apprunner. The following functionality needs to be implemented for editor insert stylesheet remove stylesheet
Status: NEW → ASSIGNED
Target Milestone: M15
On the possible cut list. All features that are at high risk are being moved to M15.
Assignee: kostello → buster
Status: ASSIGNED → NEW
assigning to buster
scheduled for M8.
Assignee: buster → kin
Target Milestone: M15 → M8
Status: NEW → ASSIGNED
accepting bug.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Add/RemoveStyleSheet() methods have been added to the nsIEditor interface. You can also dynamically apply a style sheet to the editor's document via javascript by calling the javascript method window.editorShell.EditorApplyStyleSheet() and passing in the URL to the style sheet.
Kin, can you mark this one verified? thanks!
Status: RESOLVED → VERIFIED
Marking verified for Sujay. Chris and Sujay, you can test this functionality by launching the editor test bed and selecting one of the menu items under Format->Apply Style Sheet.
You need to log in before you can comment on or make changes to this bug.