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
A clear and concise description of what the feature is
The feature would allow to convert blocks contents into a react / react-native readable format. I guess that much of the logic could remain close or identical as both could take advantage of the react standards, simply switching the final tags - <div> becoming <View>, <p> becoming <Text> etc.
Why should this feature be included?
One of the main advantage of using a headless editor like Strapi is the ability to serve contents not only to web apps, but also to mobile apps.
A clear and concise description of what the feature is
The feature would allow to convert blocks contents into a react / react-native readable format. I guess that much of the logic could remain close or identical as both could take advantage of the react standards, simply switching the final tags -
<div>
becoming<View>
,<p>
becoming<Text>
etc.Why should this feature be included?
One of the main advantage of using a headless editor like Strapi is the ability to serve contents not only to web apps, but also to mobile apps.
Please provide an example for how this would work
Globo made such a converter with draftJs, it worked pretty well.
https://github.com/globocom/react-native-draftjs-render
The text was updated successfully, but these errors were encountered: