px-jspreadsheet-ce 0.0.12 → 0.0.14

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.12",
8
+ "version": "0.0.14",
9
9
  "exports": {
10
10
  ".": {
11
11
  "import": "./src/index.js",
@@ -64,6 +64,7 @@ export const openEditor = function (cell, empty, e) {
64
64
  if (config && typeof config.type === 'object') {
65
65
  // Custom editors
66
66
  config.type.openEditor(cell, obj.options.data[y][x], parseInt(x), parseInt(y), obj, config, e);
67
+ cell.classList.remove('jss_updated');
67
68
 
68
69
  // On edition start
69
70
  dispatch.call(obj, 'oncreateeditor', obj, cell, parseInt(x), parseInt(y), null, config);
@@ -522,7 +522,7 @@ export const createCell = function (i, j, value) {
522
522
 
523
523
  // Wrap option
524
524
  if ((!config || config.wordWrap != false) && (obj.options.wordWrap == true || (config && config.wordWrap == true) || td.innerHTML.length > 200)) {
525
- td.style.whiteSpace = 'pre-wrap';
525
+ td.style.overflowWrap = 'break-word';
526
526
  }
527
527
 
528
528
  // Overflow