Aditya Bhatt
e74d7d2dca
Properly destroy all dojo widgets when Tools is destoy()'d
2013-10-23 20:48:23 +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
Friedrich W. H. Kossebau
80e75c6b73
Separate annotation handling logic into a tool class AnnotationManager and UI into a editor/widgets/annotation.js
...
Also enable "Add annotation" button only if not inside annotations
2013-10-16 17:20:14 +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
Philip Peitsch
3f6790ef5f
Add insert image button to the editor
2013-10-02 16:37:49 +10:00
Aditya Bhatt
5b3d1b2fcd
Make onToolDone an overrideable member function that is called whenever
...
a tool is done. Now we don't pass onToolDone as a callback argument.
Make styles dialog, zoom slider, and other widgets restore focus to the
document once they are done.
2013-09-19 18:54:37 +02:00
Friedrich W. H. Kossebau
55d5ac8ac8
Add callback to set focus to canvas once done to most tools in the toolbar
2013-09-16 18:45:19 +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
ed86ae77de
Only enable direct styling of paragraph if args.directStylingEnabled is set
...
(still need to check OT)
2013-09-07 17:00:58 +02:00
Philip Peitsch
c7eac5bd5e
Added buttons to editor for modifying paragraph alignment and indentation
2013-09-06 18:30:53 +02:00
Friedrich W. H. Kossebau
d12da85554
Add an optional Close button to the toolbar
2013-09-03 01:02:48 +02:00
Friedrich W. H. Kossebau
870aba86ab
Add argument unstableFeaturesEnabled to Editor, disable direct styling & annotations for collab sessions
2013-09-03 01:02:47 +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