soccerloway / quill-better-table

Module for better table in Quill, more useful features are supported.
MIT License
316 stars 119 forks source link

Cell's background color does not change in other clients #61

Open yelban opened 4 years ago

yelban commented 4 years ago

client1: change a cell's background color

clientX: Can't see the change without reload the page

client1 截圖 2020-07-17 下午5 44 14

clientX 截圖 2020-07-17 下午5 40 56

"quill-better-table": "^1.2.10", "quill": "^2.0.0-dev.4", "quill-cursors": "^3.0.1",

There is a online example

http://sharedb.36.to:8080/ console.log can see SEND/RECV event const connection = new ShareDB.Connection(socket); connection.debug = true;

You can only see the changes after refreshing when others change cell's background.

The corresponding SEND/RECV events on other clients seem to have the correct trigger when the background color is changed.

yelban commented 4 years ago

better-table (1)

In client X, drag and change the width of the column, Client 1 will see the change. However, with Client 1 undoing the column width, the width of the prompt field above Client X will not update correctly.