W.I.P. collab editor:

- Make all editors options available
- Add viewOptions available for configuration
- Disable active avatar by default
- Some styling for member's list, member's marker and avatar
- Add mobile template for editor
This commit is contained in:
Hadi Nategh
2016-08-23 12:29:49 +02:00
parent 6d80f6c351
commit b7eb55f6fa
6 changed files with 124 additions and 6 deletions

View File

@ -218,7 +218,7 @@ window.Wodo = window.Wodo || (function () {
// create session around loaded document
session = new ops.Session(odfCanvas);
editorSession = new EditorSession(session, pendingMemberId, {
viewOptions: viewOptions,
viewOptions: jQuery.extend(viewOptions,editorOptions.viewOptions),
directTextStylingEnabled: directTextStylingEnabled,
directParagraphStylingEnabled: directParagraphStylingEnabled,
paragraphStyleSelectingEnabled: paragraphStyleSelectingEnabled,