12 Commits
Author SHA1 Message Date
Friedrich W. H. Kossebau c749ca8927 Code cleanups in programs/editor for issues found with JSLint 2015-02-23 17:31:37 +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
Aditya Bhatt ed863dcb51 Change widgets that access controllers to cleanly
unsubscribe and subscribe to signals.
2014-06-06 15:11:32 +02:00
Aditya Bhatt b02e11f1cc Make image insertion respect review mode constraints. 2014-06-06 15:11:31 +02:00
Aditya Bhatt 052a3cf04a Move image insertion code from EditorSession to ImageInserter.
This allows access to controllers directly in the widget, as is
the convention.
2014-06-06 15:11:31 +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
Aditya Bhatt 6a4f0e69ab Add translations support to runtime.js,
and programs/editor/Translator.js which is a reference
implementations of a translator.
The programs/editor/Translator code is used entirely in
localeditor.js/collabeditor.js and the editor itself, or webodf,
and need not know anything about the translation mechanism.

Translate all strings within the editor and all
user-facing strings in webodf core itself using
runtime.tr();
2013-11-05 18:38:41 +01: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
lli 94ceb41a03 Disable font and paragraph formating toolbar items on the editor when image is selected.
LO/AOO actually hides those options.
2013-10-15 21:42:21 +11:00
Friedrich W. H. Kossebau 094151847f Improve ImageInserter: use img.onload, drop hidden image helper after usage, call onToolDone only when really done 2013-10-07 11:50:36 +02:00
Philip Peitsch 3f6790ef5f Add insert image button to the editor 2013-10-02 16:37:49 +10:00