0.0.34 • Published 3 months ago

rtn-edison-editor v0.0.34

Weekly downloads
-
License
UNLICENSED
Repository
github
Last release
3 months ago

RN-edison-editor

Secondary development of this package


if you want change the index.html(webview content):

1. install the dependencies

yarn

2. run react app

  • yarn dev to start react app in localhost
  • or yarn dev-with-host to start in host and can visit it in other device by IP address

3. change webview uri

change the code in file {your project}/node_modules/RN-edison-editor/index.js

find this code:

this.setState({ webviewUri: draftJsFilePath });

change the webviewUri to your local url: http://localhost:8080 or http://192.168.1.123:8080

4. finish change and build

yarn build

5. publish

npm run publish


if you want change the index.js or index.d.ts(webview shell):

1. copy the index.tsx to node_modules in you project

cp ./index.tsx {your project}/node_modules/RN-edison-editor/

2. change the main in package.json

change the main in node_modules/RN-edison-editor/package.json to "index.tsx" and delete "types": "index.d.ts"

3. finish change and build

copy index.tsx change code to RN-edison-editor,

yarn build

4. publish

npm run publish

if you want change the quill package:

1. change the node_modules/quill/dist/quill.js

2. generate diff patches

npx patch-package quill

Get Start

Get Start

0.0.34

3 months ago

0.0.32

4 months ago

0.0.33

4 months ago

0.0.30

4 months ago

0.0.31

4 months ago

0.0.29

4 months ago

0.0.28

9 months ago

0.0.27

9 months ago

0.0.26

9 months ago

0.0.25

9 months ago

0.0.24

9 months ago

0.0.23

9 months ago

0.0.22

9 months ago

0.0.21

9 months ago

0.0.20

9 months ago

0.0.19

9 months ago

0.0.18

9 months ago

0.0.17

9 months ago

0.0.16

9 months ago

0.0.15

9 months ago

0.0.14

9 months ago

0.0.13

9 months ago

0.0.12

9 months ago

0.0.11

9 months ago

0.0.10

9 months ago

0.0.9

9 months ago

0.0.8

9 months ago

0.0.7

9 months ago

0.0.6

9 months ago

0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago