RESOLVED FIXED 24746
[Qt] Additional editing related QWebPage WebActions
https://bugs.webkit.org/show_bug.cgi?id=24746
Summary [Qt] Additional editing related QWebPage WebActions
Erik L. Bunce
Reported 2009-03-21 21:58:23 PDT
Some additional editing related QWebPage WebActions would make Qt WebKit more useful as an embedded editor. * Clipboard: PasteAndMatchStyle * Formatting: RemoveFormat, ToggleStrikethrough, ToggleSubscript, and ToggleSuperscript * List Editing: InsertUnorderedList, InsertOrderedList, Indent, Outdent * Paragraph Justification: AlignCenter, AlignJustified, AlignLeft, AlignRight Also the selection / editing related ports of the qwebpage test harness could use some enhancement.
Attachments
Adds editing related WebActions and improves selection / editing tests. (16.30 KB, patch)
2009-03-21 22:03 PDT, Erik L. Bunce
no flags
Adds editing related WebActions and improves selection / editing tests. (15.92 KB, patch)
2009-03-26 18:13 PDT, Erik L. Bunce
hausmann: review+
Erik L. Bunce
Comment 1 2009-03-21 22:03:37 PDT
Created attachment 28829 [details] Adds editing related WebActions and improves selection / editing tests. Adds the following WebActions: + PasteAndMatchStyle - Paste content from the clipboard with current style. + RemoveFormat - Removes formatting and style. + ToggleStrikethrough - Toggle the formatting between strikethrough and normal style. + ToggleSubscript - Toggle the formatting between subscript and baseline. + ToggleSuperscript - Toggle the formatting between supercript and baseline. + InsertUnorderedList - Toggles the selection between an ordered list and a normal block. + InsertOrderedList - Toggles the selection between an ordered list and a normal block. + Indent - Increases the indentation of the currently selected format block by one increment. + Outdent - Decreases the indentation of the currently selected format block by one increment. + AlignCenter - Applies center alignment to content. + AlignJustified - Applies full justification to content. + AlignLeft - Applies left justification to content. + AlignRight - Applies right justification to content. Improved selection and editing tests.
Erik L. Bunce
Comment 2 2009-03-26 18:13:13 PDT
Created attachment 28996 [details] Adds editing related WebActions and improves selection / editing tests. Adjusted to separate out the other test case fix, as per Simon's request.
Simon Hausmann
Comment 3 2009-03-27 04:51:04 PDT
Comment on attachment 28996 [details] Adds editing related WebActions and improves selection / editing tests. Thanks Erik :)
Simon Hausmann
Comment 4 2009-03-27 04:54:33 PDT
Landed in r42032
Note You need to log in before you can comment on or make changes to this bug.