px-jspreadsheet-ce 0.0.11 → 0.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "main": "dist/index.js",
6
6
  "module": "src/index.js",
7
7
  "types": "dist/index.d.ts",
8
- "version": "0.0.11",
8
+ "version": "0.0.12",
9
9
  "exports": {
10
10
  ".": {
11
11
  "import": "./src/index.js",
@@ -38,6 +38,7 @@ export const openEditor = function (cell, empty, e) {
38
38
  editor.style.minHeight = info.height - 2 + 'px';
39
39
 
40
40
  // Edit cell
41
+ cell.classList.remove('jss_updated');
41
42
  cell.classList.add('editor');
42
43
  cell.innerHTML = '';
43
44
  cell.appendChild(editor);
@@ -706,6 +706,7 @@ export const updateCell = function (x, y, value, force) {
706
706
 
707
707
  // On change
708
708
  if (!obj.createTableProcess) {
709
+ obj.records[y][x].element.classList.add('jss_updated');
709
710
  dispatch.call(obj, 'onchange', obj, obj.records[y] && obj.records[y][x] ? obj.records[y][x].element : null, x, y, value, record.oldValue);
710
711
  }
711
712
  }