mirror of
https://github.com/zadam/trilium.git
synced 2025-02-22 05:56:03 +08:00
Merge remote-tracking branch 'origin/stable'
# Conflicts: # src/services/ws.js
This commit is contained in:
commit
da0670188b
4 changed files with 7 additions and 2 deletions
2
libraries/ckeditor/ckeditor.js
vendored
2
libraries/ckeditor/ckeditor.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -166,6 +166,7 @@ const editorConfig = {
|
|||
'IncludeNote',
|
||||
'CutToNote',
|
||||
'Mathematics',
|
||||
'AutoformatMath',
|
||||
'indentBlockShortcutPlugin',
|
||||
'removeFormatLinksPlugin'
|
||||
],
|
||||
|
|
|
@ -79,6 +79,10 @@ function fillInAdditionalProperties(entityChange) {
|
|||
// the exception is isDeleted - in that case becca doesn't contain such entity at all
|
||||
// this would have to be handled separately
|
||||
|
||||
if (entityChange.isErased) {
|
||||
return;
|
||||
}
|
||||
|
||||
// fill in some extra data needed by the frontend
|
||||
if (entityChange.entityName === 'attributes') {
|
||||
entityChange.entity = sql.getRow(`SELECT * FROM attributes WHERE attributeId = ?`, [entityChange.entityId]);
|
||||
|
|
Loading…
Reference in a new issue