1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Revert "Update website"

This reverts commit ff1a6fdbbd.
This commit is contained in:
Laurent Cozic
2019-02-27 23:38:21 +00:00
parent ff1a6fdbbd
commit 49b56e84a7
17 changed files with 42 additions and 499 deletions

View File

@ -96,8 +96,6 @@ class NoteBodyViewer extends Component {
let html = this.mdToHtml_.render(note ? note.body : '', this.props.webViewStyle, mdOptions);
const injectedJs = this.mdToHtml_.injectedJavaScript();
html = `
<!DOCTYPE html>
<html>
@ -148,7 +146,6 @@ class NoteBodyViewer extends Component {
scalesPageToFit={Platform.OS !== 'ios'}
style={webViewStyle}
source={source}
injectedJavaScript={injectedJs}
originWhitelist={['file://*', './*', 'http://*', 'https://*']}
mixedContentMode="always"
allowFileAccess={true}