Add support of showing authorship in editor and adjust related styles
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user