@tiptap/extension-dropcursor
Advanced tools
Comparing version 2.0.0-alpha.3 to 2.0.0-alpha.4
@@ -6,2 +6,10 @@ # Change Log | ||
# [2.0.0-alpha.4](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-dropcursor@2.0.0-alpha.3...@tiptap/extension-dropcursor@2.0.0-alpha.4) (2020-12-02) | ||
**Note:** Version bump only for package @tiptap/extension-dropcursor | ||
# [2.0.0-alpha.3](https://github.com/ueberdosis/tiptap-next/compare/@tiptap/extension-dropcursor@2.0.0-alpha.2...@tiptap/extension-dropcursor@2.0.0-alpha.3) (2020-11-19) | ||
@@ -8,0 +16,0 @@ |
import { Extension } from '@tiptap/core'; | ||
declare type DropcursorOptions = { | ||
export interface DropcursorOptions { | ||
color: string | null; | ||
width: number | null; | ||
class: string | null; | ||
}; | ||
} | ||
declare const Dropcursor: Extension<DropcursorOptions, unknown>; | ||
@@ -8,0 +8,0 @@ export default Dropcursor; |
@@ -7,2 +7,3 @@ 'use strict'; | ||
const Dropcursor = core.Extension.create({ | ||
name: 'dropCursor', | ||
defaultOptions: { | ||
@@ -9,0 +10,0 @@ color: 'black', |
@@ -5,2 +5,3 @@ import { Extension } from '@tiptap/core'; | ||
const Dropcursor = Extension.create({ | ||
name: 'dropCursor', | ||
defaultOptions: { | ||
@@ -7,0 +8,0 @@ color: 'black', |
@@ -8,2 +8,3 @@ (function (global, factory) { | ||
const Dropcursor = core.Extension.create({ | ||
name: 'dropCursor', | ||
defaultOptions: { | ||
@@ -10,0 +11,0 @@ color: 'black', |
{ | ||
"name": "@tiptap/extension-dropcursor", | ||
"version": "2.0.0-alpha.3", | ||
"description": "dropcursor extension for tiptap", | ||
"version": "2.0.0-alpha.4", | ||
"homepage": "https://tiptap.dev", | ||
@@ -30,3 +31,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "7966af0fec4e65f83d7e5a22ccb9fc420a9a6728" | ||
"gitHead": "a884cb81de8783d0097741c1ddb97a82ea88ae0e" | ||
} |
import { Extension } from '@tiptap/core' | ||
import { dropCursor } from 'prosemirror-dropcursor' | ||
type DropcursorOptions = { | ||
export interface DropcursorOptions { | ||
color: string | null, | ||
@@ -11,2 +11,4 @@ width: number | null, | ||
const Dropcursor = Extension.create({ | ||
name: 'dropCursor', | ||
defaultOptions: <DropcursorOptions>{ | ||
@@ -13,0 +15,0 @@ color: 'black', |
Sorry, the diff of this file is too big to display
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
451787
427