mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-13 06:34:39 -04:00
Add support of showing authorship in editor and adjust related styles
This commit is contained in:
parent
d5549c6a84
commit
a14e7953b5
4 changed files with 218 additions and 3 deletions
|
@ -65,7 +65,9 @@ function emitCheck(note) {
|
|||
var out = {
|
||||
updatetime: note.updatetime,
|
||||
lastchangeuser: note.lastchangeuser,
|
||||
lastchangeuserprofile: note.lastchangeuserprofile
|
||||
lastchangeuserprofile: note.lastchangeuserprofile,
|
||||
authors: note.authors,
|
||||
authorship: note.authorship
|
||||
};
|
||||
realtime.io.to(note.id).emit('check', out);
|
||||
}
|
||||
|
@ -314,6 +316,8 @@ function emitRefresh(socket) {
|
|||
ownerprofile: note.ownerprofile,
|
||||
lastchangeuser: note.lastchangeuser,
|
||||
lastchangeuserprofile: note.lastchangeuserprofile,
|
||||
authors: note.authors,
|
||||
authorship: note.authorship,
|
||||
permission: note.permission,
|
||||
createtime: note.createtime,
|
||||
updatetime: note.updatetime
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue