Answer the question
In order to leave comments, you need to log in
In what form should the text of the article be stored in the database and sent to the mobile application?
Actually a question.
In what form to add, store and give data of large articles for a mobile application. Provided that the text of the article consists not only of a line with text, but of different blocks such as image titles, and is filled out from a regular text editor in html form.
Answer the question
In order to leave comments, you need to log in
Alternatively, you can try doing this
import React, { Component } from 'react';
import { WebView } from 'react-native-webview';
class MyInlineWeb extends Component {
render() {
return (
<WebView
originWhitelist={['*']}
source={{ html: '<h1>Hello world</h1>' }}
/>
);
}
}
Isn't it an option to use a block editor like EditorJS, store, respectively, the text of articles in json in the database and give it to the application?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question