imnapo / react-native-cn-quill

Quill rich-text editor for react-native
MIT License
190 stars 75 forks source link

src/types => ../types #125

Open stereodenis opened 1 year ago

stereodenis commented 1 year ago

Hi! 👋

Firstly, thanks for your work on this project! 🙂

Today I used patch-package to patch react-native-cn-quill@0.7.18 for the project I'm working on.

I have problem with paths

Here is the diff that solved my problem:

diff --git a/node_modules/react-native-cn-quill/src/utils/editor-utils.ts b/node_modules/react-native-cn-quill/src/utils/editor-utils.ts
index 5683a8c..4d5f19c 100644
--- a/node_modules/react-native-cn-quill/src/utils/editor-utils.ts
+++ b/node_modules/react-native-cn-quill/src/utils/editor-utils.ts
@@ -1,4 +1,4 @@
-import type { CustomFont } from 'src/types';
+import type { CustomFont } from '../types';
 import {
   create_quill,
   editor_css,

This issue body was partially generated by patch-package.