17 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau 012f08c1a3 Block browser translation service from translating content (editor-only) 2015-01-27 15:26:35 +01:00
Lukas Reschke 28c407940c Sanitize paragraph and font names 2014-12-02 15:45:18 +01:00
Friedrich W. H. Kossebau 41f8b18ac6 Make sure all toolbar elements are disabled without a session
(and merge any require calls into one per class definition)
2014-07-10 18:19:11 +02:00
Friedrich W. H. Kossebau 9d52a5cfec Fix font picker in Editor wrongly keeping fonts of old documents 2014-06-12 13:53:16 +02:00
Friedrich W. H. Kossebau 7f80e8e163 Normalize license headers of editor/benchmark/tests/firefox-addon/viewer source files
* remove @license tag, for consistency with library source files
* use copyright@kogmbh.com email address everywhere
* remove "additional permission", to be added only to released stuff
* separate license header by empty line from following content
2014-06-02 17:49:46 +02:00
Friedrich W. H. Kossebau c2a795e668 Update link to repo: now https://github.com/kogmbh/WebODF/ 2013-10-23 18:20:30 +02:00
Friedrich W. H. Kossebau 508570dab8 Add copy of the AGPL3 to sources (+ add to created zip files) 2013-10-21 17:55:16 +02:00
Philip Peitsch d1cdcfb2cb Add direct font family and size styling support to Editor
* tweak fontPicker wrapper to be a little easier to use within other
  widgets
* keep annotation button stays in same position
2013-09-09 09:16:04 +02:00
Friedrich W. H. Kossebau 479ecd79f8 Turn widgets.js into Tools.js, make tools work without a editorSession object set 2013-09-03 01:02:47 +02:00
Aditya Bhatt 21f7e5fff4 Better handling of undefined font family in fontPicker 2013-03-25 15:52:57 +05:30
Aditya Bhatt a1354b010e Some changes to handle undefined font families 2013-03-25 15:52:57 +05:30
Aditya Bhatt df17d620c7 Add a getFamily method to fontPicker, which retrieves the family for a
font with a given name. Use this in the font pane so that we can see
previews for fonts.
2013-03-25 15:52:57 +05:30
Aditya Bhatt 29df7b772a * Move XHR from editor.js to EditorSession, stop making fonts global,
and make this synchronous
* Some explanatory comments about the simple css parsing
* Use a better technique for deduplicating font family declarations,
pick the alphabetically first font name
2013-03-06 19:51:19 +05:30
Aditya Bhatt 1f894d0691 Remove lots of whitespace 2013-03-06 19:51:19 +05:30
Aditya Bhatt 3d74878cd1 * getUsedFonts -> getDeclaredFonts renaming.
* documentation
2013-03-06 19:51:19 +05:30
Aditya Bhatt cf583fc8ea Explanatory Comments 2013-03-06 19:51:19 +05:30
Aditya Bhatt 3c062a76cd * A new widget, fontPicker.js, made in a similar way to
paragraphStyles.js.
* Remove old declarative 'placeholder' font selector from
fontEffectsPane.html, and attach programmatically the new fontPicker in
it's place. Rename fontFamily to fontName, since we are actually dealing
with font-names here when we work with styles.
2013-03-06 19:51:19 +05:30