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.29.4 to 8.29.5

2

lib-amd/format/getFormatState.js

@@ -32,3 +32,3 @@ var __assign = (this && this.__assign) || function () {

var endingBlock = editor.getBlockElementAtNode(range.endContainer);
multiline = endingBlock ? !endingBlock.equals(startingBlock) : false;
multiline = endingBlock && startingBlock ? !endingBlock.equals(startingBlock) : false;
}

@@ -35,0 +35,0 @@ var headerTag = (0, roosterjs_editor_dom_1.getTagOfNode)(editor.getElementAtCursor('H1,H2,H3,H4,H5,H6', null /*startFrom*/, event));

@@ -29,3 +29,3 @@ var __assign = (this && this.__assign) || function () {

var endingBlock = editor.getBlockElementAtNode(range.endContainer);
multiline = endingBlock ? !endingBlock.equals(startingBlock) : false;
multiline = endingBlock && startingBlock ? !endingBlock.equals(startingBlock) : false;
}

@@ -32,0 +32,0 @@ var headerTag = getTagOfNode(editor.getElementAtCursor('H1,H2,H3,H4,H5,H6', null /*startFrom*/, event));

@@ -32,3 +32,3 @@ "use strict";

var endingBlock = editor.getBlockElementAtNode(range.endContainer);
multiline = endingBlock ? !endingBlock.equals(startingBlock) : false;
multiline = endingBlock && startingBlock ? !endingBlock.equals(startingBlock) : false;
}

@@ -35,0 +35,0 @@ var headerTag = (0, roosterjs_editor_dom_1.getTagOfNode)(editor.getElementAtCursor('H1,H2,H3,H4,H5,H6', null /*startFrom*/, event));

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

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

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

@@ -115,6 +115,2 @@ [![Build Status](https://github.com/microsoft/roosterjs/actions/workflows/build-and-deploy.yml/badge.svg)](https://github.com/microsoft/roosterjs/actions/workflows/build-and-deploy.yml)

or
`npm install roosterjs --save`
You can also install sub packages separately:

@@ -128,10 +124,2 @@

or
`npm install roosterjs-editor-core --save`
`npm install roosterjs-editor-api --save`
`...`
In order to run the code below, you may also need to install [webpack](https://webpack.js.org/):

@@ -141,6 +129,2 @@

or
`npm install webpack -g`
## Usage

@@ -238,8 +222,2 @@

or
```cmd
npm install
```
2. Build the source code, and start the sample editor:

@@ -246,0 +224,0 @@

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