Console error log

Нездешний 7 years ago in iPhone updated by Alexander Blach (Developer) 7 years ago 2

an example of code that works in textastic 5.3.1, but gives an error in the console in the 6.3 version

<!DOCTYPE html>

<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">

<p>Click the button to open an output stream in a new window, add some text, then close the output stream.</p>

<button onclick="myFunction()">Try it</button>

function myFunction() {
var w = window.open();
w.document.write("<h1>Hello World!</h1>");


That's probably related to the switch from the old UIWebView to the more performant WKWebView.

Textastic currently does not support multiple windows or tabs in the web preview, so creating a new window from JavaScript does not work properly at the moment, sorry.