Skip to content

Commit 3ac6189

Browse files
authored
chore: remove copyright (#1321)
1 parent bfc70af commit 3ac6189

File tree

374 files changed

+2
-449
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

374 files changed

+2
-449
lines changed

Diff for: e2e/.storybook/main.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { StorybookConfig } from '@storybook/html-vite'
32

43
const config: StorybookConfig = {

Diff for: e2e/.storybook/preview.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Preview } from '@storybook/html'
32

43
const preview: Preview = {

Diff for: e2e/cypress.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { defineConfig } from 'cypress'
32

43
export default defineConfig({

Diff for: e2e/cypress/e2e/multi-editor/command.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
beforeEach(() => {

Diff for: e2e/cypress/e2e/plugin-automd/plugin.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
Cypress.on('window:before:load', (win) => {

Diff for: e2e/cypress/e2e/plugin-clipboard/plugin.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
beforeEach(() => {

Diff for: e2e/cypress/e2e/plugin-listener/plugin.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
Cypress.on('window:before:load', (win) => {

Diff for: e2e/cypress/e2e/plugin-math/plugin.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
beforeEach(() => {

Diff for: e2e/cypress/e2e/preset-commonmark/command.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
beforeEach(() => {

Diff for: e2e/cypress/e2e/preset-commonmark/input.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
beforeEach(() => {

Diff for: e2e/cypress/e2e/preset-commonmark/inspect.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
beforeEach(() => {

Diff for: e2e/cypress/e2e/preset-commonmark/shortcut.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
beforeEach(() => {

Diff for: e2e/cypress/e2e/preset-commonmark/transform.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
beforeEach(() => {

Diff for: e2e/cypress/e2e/preset-gfm/input.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
beforeEach(() => {

Diff for: e2e/cypress/e2e/preset-gfm/shortcut.cy.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
Cypress.config('baseUrl', `http://localhost:${Cypress.env('SERVER_PORT')}`)
42

53
beforeEach(() => {

Diff for: e2e/shim.d.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
/* eslint-disable vars-on-top */
42
/* eslint-disable no-var */
53

Diff for: e2e/src/code-block/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Editor, defaultValueCtx, rootCtx } from '@milkdown/core'
42
import { nord } from '@milkdown/theme-nord'
53
import { commonmark } from '@milkdown/preset-commonmark'

Diff for: e2e/src/crepe/main.stories.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Meta, StoryObj } from '@storybook/html'
32
import { Crepe, CrepeFeature, CrepeTheme } from '@milkdown/crepe'
43

Diff for: e2e/src/crepe/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Crepe, CrepeFeature, CrepeTheme } from '@milkdown/crepe'
42

53
import './style.css'

Diff for: e2e/src/data.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { CardComponentProps } from './main'
32

43
export const cards: CardComponentProps[] = [

Diff for: e2e/src/image-block/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Editor, defaultValueCtx, rootCtx } from '@milkdown/core'
42
import { nord } from '@milkdown/theme-nord'
53
import { commonmark } from '@milkdown/preset-commonmark'

Diff for: e2e/src/image-inline/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Editor, defaultValueCtx, rootCtx } from '@milkdown/core'
42
import { nord } from '@milkdown/theme-nord'
53
import { commonmark } from '@milkdown/preset-commonmark'

Diff for: e2e/src/link-tooltip/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Editor, defaultValueCtx, editorViewCtx, rootCtx } from '@milkdown/core'
42
import { nord } from '@milkdown/theme-nord'
53
import { commonmark, linkSchema } from '@milkdown/preset-commonmark'

Diff for: e2e/src/list-item-block/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Editor, defaultValueCtx, rootCtx } from '@milkdown/core'
42
import { nord } from '@milkdown/theme-nord'
53
import { commonmark } from '@milkdown/preset-commonmark'

Diff for: e2e/src/main.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import './style.css'
32
import type { Component } from 'atomico'
43
import { c, html } from 'atomico'

Diff for: e2e/src/misc.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
export const isMac = () => window.navigator.platform.includes('Mac')
42

53
export const mod = () => (isMac() ? 'meta' : 'ctrl')

Diff for: e2e/src/multi-editor/main.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { Editor, rootCtx } from '@milkdown/core'
32
import { nord } from '@milkdown/theme-nord'
43
import { commonmark } from '@milkdown/preset-commonmark'

Diff for: e2e/src/plugin-automd/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Editor, rootCtx } from '@milkdown/core'
42
import { nord } from '@milkdown/theme-nord'
53
import { listener, listenerCtx } from '@milkdown/plugin-listener'

Diff for: e2e/src/plugin-clipboard/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Editor, rootCtx } from '@milkdown/core'
42
import { nord } from '@milkdown/theme-nord'
53
import { commonmark } from '@milkdown/preset-commonmark'

Diff for: e2e/src/plugin-emoji/main.stories.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Meta, StoryObj } from '@storybook/html'
32
import { Editor, defaultValueCtx, rootCtx } from '@milkdown/core'
43
import { nord } from '@milkdown/theme-nord'

Diff for: e2e/src/plugin-listener/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Editor, defaultValueCtx, rootCtx } from '@milkdown/core'
42
import { nord } from '@milkdown/theme-nord'
53
import { commonmark } from '@milkdown/preset-commonmark'

Diff for: e2e/src/plugin-math/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Editor, rootCtx } from '@milkdown/core'
42
import { nord } from '@milkdown/theme-nord'
53
import { commonmark } from '@milkdown/preset-commonmark'

Diff for: e2e/src/preset-commonmark/commands.stories.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Meta, StoryObj } from '@storybook/html'
32
import { Editor, rootCtx } from '@milkdown/core'
43
import { nord } from '@milkdown/theme-nord'

Diff for: e2e/src/preset-commonmark/input-rules.stories.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Meta, StoryObj } from '@storybook/html'
32
import { Editor, rootCtx } from '@milkdown/core'
43
import { nord } from '@milkdown/theme-nord'

Diff for: e2e/src/preset-commonmark/main.stories.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Meta, StoryObj } from '@storybook/html'
32
import { Editor, defaultValueCtx, rootCtx } from '@milkdown/core'
43
import { nord } from '@milkdown/theme-nord'

Diff for: e2e/src/preset-commonmark/main.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import { Editor, rootCtx } from '@milkdown/core'
42
import { nord } from '@milkdown/theme-nord'
53
import { commonmark, toggleEmphasisCommand, toggleStrongCommand } from '@milkdown/preset-commonmark'

Diff for: e2e/src/preset-commonmark/shortcut.stories.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Meta, StoryObj } from '@storybook/html'
32
import { Editor, rootCtx } from '@milkdown/core'
43
import { nord } from '@milkdown/theme-nord'

Diff for: e2e/src/preset-gfm/main.stories.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Meta, StoryObj } from '@storybook/html'
32
import { Editor, rootCtx } from '@milkdown/core'
43
import { nord } from '@milkdown/theme-nord'

Diff for: e2e/src/preset-gfm/main.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { Editor, rootCtx } from '@milkdown/core'
32
import { nord } from '@milkdown/theme-nord'
43
import { commonmark } from '@milkdown/preset-commonmark'

Diff for: e2e/src/utils.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Editor } from '@milkdown/core'
32
import { editorViewCtx, parserCtx, serializerCtx } from '@milkdown/core'
43
import { Slice } from '@milkdown/prose/model'

Diff for: package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@
2828
"changeset": "changeset",
2929
"release": "changeset publish",
3030
"commit": "git-cz",
31-
"prepare": "husky"
31+
"prepare": "husky",
32+
"storybook": "pnpm --filter=@milkdown/e2e run storybook"
3233
},
3334
"devDependencies": {
3435
"@antfu/eslint-config": "^2.16.2",

Diff for: packages/components/src/__internal__/icons.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { html } from 'atomico'
32

43
export const edit = html`

Diff for: packages/components/src/__internal__/meta.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Meta, MilkdownPlugin } from '@milkdown/ctx'
32

43
export function withMeta<T extends MilkdownPlugin>(plugin: T, meta: Partial<Meta> & Pick<Meta, 'displayName'>): T {

Diff for: packages/components/src/code-block/config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { $ctx } from '@milkdown/utils'
32
import type { Extension } from '@codemirror/state'
43
import type { LanguageDescription } from '@codemirror/language'

Diff for: packages/components/src/code-block/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { MilkdownPlugin } from '@milkdown/ctx'
32
import { codeBlockView } from './view'
43
import { codeBlockConfig } from './config'

Diff for: packages/components/src/code-block/view/component.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { EditorView as CodeMirror } from '@codemirror/view'
32
import type { Component } from 'atomico'
43
import { c, h, html, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'atomico'

Diff for: packages/components/src/code-block/view/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { $view } from '@milkdown/utils'
32
import { codeBlockSchema } from '@milkdown/preset-commonmark'
43
import type { NodeViewConstructor } from '@milkdown/prose/view'

Diff for: packages/components/src/code-block/view/loader.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { LanguageDescription, LanguageSupport } from '@codemirror/language'
32

43
export interface LanguageInfo {

Diff for: packages/components/src/code-block/view/node-view.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { EditorView, NodeView } from '@milkdown/prose/view'
32
import type { KeyBinding } from '@codemirror/view'
43
import { EditorView as CodeMirror, keymap as cmKeymap } from '@codemirror/view'

Diff for: packages/components/src/code-block/view/style.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { css } from 'atomico'
32

43
export const style = css`

Diff for: packages/components/src/code-block/view/utils.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
export function trapFocus(focusNode: HTMLElement, rootNode = document.body) {
32
const CANDIDATES = `
43
a, button, input, select, textarea, svg, area, details, summary,

Diff for: packages/components/src/image-block/config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { $ctx } from '@milkdown/utils'
32
import { html } from 'atomico'
43
import { chatBubble, image } from '../__internal__/icons'

Diff for: packages/components/src/image-block/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import type { MilkdownPlugin } from '@milkdown/ctx'
42
import { imageBlockSchema } from './schema'
53
import { remarkImageBlockPlugin } from './remark-plugin'

Diff for: packages/components/src/image-block/remark-plugin.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import type { Node } from '@milkdown/transformer'
42
import { visit } from 'unist-util-visit'
53
import { $remark } from '@milkdown/utils'

Diff for: packages/components/src/image-block/schema.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { $nodeSchema } from '@milkdown/utils'
32
import { expectDomTypeError } from '@milkdown/exception'
43
import { withMeta } from '../__internal__/meta'

Diff for: packages/components/src/image-block/view/component.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Component } from 'atomico'
32
import { c, html, useEffect, useRef, useState } from 'atomico'
43
import { useCssLightDom } from '@atomico/hooks/use-css-light-dom'

Diff for: packages/components/src/image-block/view/event.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { type Ref, useEffect, useHost } from 'atomico'
32

43
interface Options {

Diff for: packages/components/src/image-block/view/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { $view } from '@milkdown/utils'
32
import type { NodeViewConstructor } from '@milkdown/prose/view'
43
import type { Node } from '@milkdown/prose/model'

Diff for: packages/components/src/image-block/view/style.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { css } from 'atomico'
32

43
export const style = css`

Diff for: packages/components/src/image-inline/component.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { c, html, useRef, useState } from 'atomico'
32
import type { Component } from 'atomico'
43
import clsx from 'clsx'

Diff for: packages/components/src/image-inline/config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { $ctx } from '@milkdown/utils'
32
import { html } from 'atomico'
43
import { image } from '../__internal__/icons'

Diff for: packages/components/src/image-inline/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
2-
31
import type { MilkdownPlugin } from '@milkdown/ctx'
42
import { inlineImageConfig } from './config'
53
import { inlineImageView } from './view'

Diff for: packages/components/src/image-inline/style.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { css } from 'atomico'
32

43
export const style = css`

Diff for: packages/components/src/image-inline/view.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import { $view } from '@milkdown/utils'
32
import type { NodeViewConstructor } from '@milkdown/prose/view'
43
import { imageSchema } from '@milkdown/preset-commonmark'

Diff for: packages/components/src/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
export * from './image-block'
32
export * from './list-item-block'
43
export * from './code-block'

Diff for: packages/components/src/link-tooltip/configure.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Ctx } from '@milkdown/ctx'
32
import { configureLinkPreviewTooltip } from './preview/preview-configure'
43
import { configureLinkEditTooltip } from './edit/edit-configure'

Diff for: packages/components/src/link-tooltip/edit/edit-component.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Component } from 'atomico'
32
import { c, html, useEffect, useRef, useState } from 'atomico'
43
import clsx from 'clsx'

Diff for: packages/components/src/link-tooltip/edit/edit-configure.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Ctx } from '@milkdown/ctx'
32
import { linkTooltipAPI } from '../slices'
43
import { linkEditTooltip } from '../tooltips'

Diff for: packages/components/src/link-tooltip/edit/edit-view.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Ctx } from '@milkdown/ctx'
32
import { TextSelection } from '@milkdown/prose/state'
43
import type { PluginView } from '@milkdown/prose/state'

Diff for: packages/components/src/link-tooltip/index.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { MilkdownPlugin } from '@milkdown/ctx'
32
import { linkTooltipAPI, linkTooltipConfig, linkTooltipState } from './slices'
43
import { linkEditTooltip, linkPreviewTooltip } from './tooltips'

Diff for: packages/components/src/link-tooltip/preview/preview-component.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Component } from 'atomico'
32
import { c, html } from 'atomico'
43
import type { LinkTooltipConfig } from '../slices'

Diff for: packages/components/src/link-tooltip/preview/preview-configure.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { Ctx } from '@milkdown/ctx'
32
import debounce from 'lodash.debounce'
43
import type { EditorView } from '@milkdown/prose/view'

Diff for: packages/components/src/link-tooltip/preview/preview-view.ts

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/* Copyright 2021, Milkdown by Mirone. */
21
import type { PluginView } from '@milkdown/prose/state'
32
import type { EditorView } from '@milkdown/prose/view'
43
import type { Mark } from '@milkdown/prose/model'

0 commit comments

Comments
 (0)