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

@tiptap/extension-text-style

Package Overview
Dependencies
Maintainers
2
Versions
162
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tiptap/extension-text-style - npm Package Compare versions

Comparing version 2.0.0-beta.14 to 2.0.0-beta.15

11

CHANGELOG.md

@@ -6,2 +6,13 @@ # Change Log

# [2.0.0-beta.15](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text-style@2.0.0-beta.14...@tiptap/extension-text-style@2.0.0-beta.15) (2021-06-14)
### Bug Fixes
* Fix removal of textStyle mark when any style resets ([#1465](https://github.com/ueberdosis/tiptap/issues/1465)) ([fbf4422](https://github.com/ueberdosis/tiptap/commit/fbf442269d021bbe17a9c0a830edfeda00bac85a))
# [2.0.0-beta.14](https://github.com/ueberdosis/tiptap/compare/@tiptap/extension-text-style@2.0.0-beta.13...@tiptap/extension-text-style@2.0.0-beta.14) (2021-06-07)

@@ -8,0 +19,0 @@

2

dist/tiptap-extension-text-style.cjs.js

@@ -33,3 +33,3 @@ 'use strict';

const attributes = core.getMarkAttributes(state, this.type);
const hasStyles = Object.entries(attributes).every(([, value]) => !!value);
const hasStyles = Object.entries(attributes).some(([, value]) => !!value);
if (hasStyles) {

@@ -36,0 +36,0 @@ return true;

@@ -29,3 +29,3 @@ import { Mark, mergeAttributes, getMarkAttributes } from '@tiptap/core';

const attributes = getMarkAttributes(state, this.type);
const hasStyles = Object.entries(attributes).every(([, value]) => !!value);
const hasStyles = Object.entries(attributes).some(([, value]) => !!value);
if (hasStyles) {

@@ -32,0 +32,0 @@ return true;

@@ -33,3 +33,3 @@ (function (global, factory) {

const attributes = core.getMarkAttributes(state, this.type);
const hasStyles = Object.entries(attributes).every(([, value]) => !!value);
const hasStyles = Object.entries(attributes).some(([, value]) => !!value);
if (hasStyles) {

@@ -36,0 +36,0 @@ return true;

{
"name": "@tiptap/extension-text-style",
"description": "text style extension for tiptap",
"version": "2.0.0-beta.14",
"version": "2.0.0-beta.15",
"homepage": "https://tiptap.dev",

@@ -26,3 +26,3 @@ "keywords": [

},
"gitHead": "5c8e46b0d48aa09ba0d2e8337ae6bbb2d7503e82"
"gitHead": "697b2529d93a947477b60877dc914965dade7f57"
}

@@ -54,3 +54,3 @@ import {

const attributes = getMarkAttributes(state, this.type)
const hasStyles = Object.entries(attributes).every(([, value]) => !!value)
const hasStyles = Object.entries(attributes).some(([, value]) => !!value)

@@ -57,0 +57,0 @@ if (hasStyles) {

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