Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

roosterjs-editor-api

Package Overview
Dependencies
Maintainers
4
Versions
317
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

roosterjs-editor-api - npm Package Compare versions

Comparing version 8.32.0 to 8.33.0

4

lib-amd/table/insertTable.js

@@ -15,5 +15,3 @@ define(["require", "exports", "../utils/formatUndoSnapshot", "../format/setBackgroundColor", "roosterjs-editor-dom"], function (require, exports, formatUndoSnapshot_1, setBackgroundColor_1, roosterjs_editor_dom_1) {

var document = editor.getDocument();
var fragment = document.createDocumentFragment();
var table = document.createElement('table');
fragment.appendChild(table);
table.cellSpacing = '0';

@@ -40,3 +38,3 @@ table.cellPadding = '1';

vtable.writeBack();
editor.insertNode(fragment);
editor.insertNode(table);
editor.runAsync(function (editor) {

@@ -43,0 +41,0 @@ return editor.select(new roosterjs_editor_dom_1.Position(table, 0 /* Begin */).normalize());

@@ -15,5 +15,3 @@ import formatUndoSnapshot from '../utils/formatUndoSnapshot';

var document = editor.getDocument();
var fragment = document.createDocumentFragment();
var table = document.createElement('table');
fragment.appendChild(table);
table.cellSpacing = '0';

@@ -40,3 +38,3 @@ table.cellPadding = '1';

vtable.writeBack();
editor.insertNode(fragment);
editor.insertNode(table);
editor.runAsync(function (editor) {

@@ -43,0 +41,0 @@ return editor.select(new Position(table, 0 /* Begin */).normalize());

@@ -17,5 +17,3 @@ "use strict";

var document = editor.getDocument();
var fragment = document.createDocumentFragment();
var table = document.createElement('table');
fragment.appendChild(table);
table.cellSpacing = '0';

@@ -42,3 +40,3 @@ table.cellPadding = '1';

vtable.writeBack();
editor.insertNode(fragment);
editor.insertNode(table);
editor.runAsync(function (editor) {

@@ -45,0 +43,0 @@ return editor.select(new roosterjs_editor_dom_1.Position(table, 0 /* Begin */).normalize());

@@ -5,7 +5,7 @@ {

"dependencies": {
"roosterjs-editor-types": "^8.32.0",
"roosterjs-editor-dom": "^8.32.0"
"roosterjs-editor-types": "^8.33.0",
"roosterjs-editor-dom": "^8.33.0"
},
"main": "./lib/index.js",
"version": "8.32.0",
"version": "8.33.0",
"typings": "./lib/index.d.ts",

@@ -12,0 +12,0 @@ "license": "MIT",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc