Skip to content

Commit

Permalink
fix: fixed imports with relative paths (#540)
Browse files Browse the repository at this point in the history
  • Loading branch information
d3m1d0v authored Dec 25, 2024
1 parent b475f0a commit 98ea54f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/bundle/Editor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
WysiwygEditor,
type WysiwygEditorOptions,
} from '../core';
import {TransformFn} from '../core/markdown/ProseMirrorTransformer';
import type {TransformFn} from '../core/markdown/ProseMirrorTransformer';
import {ReactRenderStorage, type RenderStorage} from '../extensions';
import {i18n} from '../i18n/bundle';
import {logger} from '../logger';
Expand Down
3 changes: 1 addition & 2 deletions src/bundle/config/wysiwyg.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/**
* @deprecated This file is deprecated. Use ToolbarsPreset instead.
*/
import {ActionStorage} from 'src/core';

import type {ActionStorage} from '../../core';
import {headingType, pType} from '../../extensions';
// for typings from Math
import type {} from '../../extensions/additional/Math';
Expand Down
2 changes: 1 addition & 1 deletion src/extensions/additional/GPT/actions.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type {ActionSpec, ExtensionDeps} from 'src/core';
import type {ActionSpec, ExtensionDeps} from '../../../core';

import {runGpt} from './commands';

Expand Down
3 changes: 1 addition & 2 deletions src/extensions/additional/GPT/gptExtension/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ import {TextSelection} from 'prosemirror-state';
import {EditorView} from 'prosemirror-view';
import {useMount} from 'react-use';

import {Parser, Serializer} from 'src/core';

import {cn} from '../../../../classname';
import type {Parser, Serializer} from '../../../../core';
import {getReactRendererFromState} from '../../../behavior';
import type {CommonAnswer} from '../ErrorScreen/types';
import type {GptDialogProps} from '../GptDialog/GptDialog';
Expand Down
2 changes: 1 addition & 1 deletion src/markup/codemirror/autocomplete/emptyRow.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {CompletionContext, CompletionResult, snippet} from '@codemirror/autocomplete';

import {i18n} from '../../../../src/i18n/empty-row';
import {i18n} from '../../../i18n/empty-row';

export const emptyRowSnippetTemplate = ' \n\n';
export const emptyRowSnippet = snippet(emptyRowSnippetTemplate);
Expand Down

0 comments on commit 98ea54f

Please sign in to comment.