You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[native code for the original editor](https://github.com/wordpress-mobile/WordPress-Editor-iOS) (a git submodule) - actually taken from this [leaner fork](https://github.com/wix/WordPress-Editor-iOS)
@@ -18,6 +23,8 @@ In order to integrate a `UIViewController` with RN, we have to turn to the libra
18
23
19
24
### Installation
20
25
26
+
* Make sure your project relies on React Native >= 0.25
27
+
21
28
* Make sure your project uses **react-native-navigation** and that you've followed the **Installation** instructions [there](https://github.com/wix/react-native-navigation)
22
29
23
30
* In your RN project root run:<br>`npm install react-native-wordpress-editor --save`
@@ -26,3 +33,61 @@ In order to integrate a `UIViewController` with RN, we have to turn to the libra
26
33
27
34
### Usage
28
35
36
+
#### For a fully working example look [here](example)
37
+
38
+
First, create a placeholder screen for the editor. The main purpose of this screen is to handle navigation events. See an example [here](https://github.com/wix/react-native-wordpress-editor/blob/master/example/EditorScreen.js).
39
+
40
+
> Note: Make sure your screen component has been registered with `Navigation.registerComponent` like all react-native-navigation screens need to be, [example](https://github.com/wix/react-native-wordpress-editor/blob/master/example/index.ios.js).
41
+
42
+
Now, to display your screen, from within one of your other app screens, push the editor:
<br>Adds images at the current cursor location in the editor, takes an array of simple objects with the `url` of each image.
90
+
91
+
### License
92
+
93
+
Code in this git repo is licensed MIT, please consider the licenses of the [dependencies](https://github.com/wordpress-mobile/WordPress-Editor-iOS) separately.
0 commit comments