mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Add draw.io read only mode
This commit is contained in:
parent
39ceaf7294
commit
8ff4bcac99
@ -88,7 +88,6 @@ define([
|
||||
|
||||
// This is called when the history is synced. "onContentUpdate" has already been called with the full content and the loading screen is being removed.
|
||||
framework.onReady(function (newPad) {
|
||||
// Here you can focus any editable part, check the integrity of the current data or intialize some values
|
||||
});
|
||||
|
||||
// starting the CryptPad framework
|
||||
@ -103,6 +102,8 @@ define([
|
||||
embed: 1,
|
||||
drafts: 0,
|
||||
|
||||
chrome: framework.isReadOnly() ? 0 : 1,
|
||||
|
||||
// Hide save and exit buttons
|
||||
noSaveBtn: 1,
|
||||
saveAndExit: 0,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user