- The 10 Best WYSIWYG HTML Editors. Another honorable mention goes to Coda, a super cool text editor for Mac users. It’s pixel-perfect and beautiful, but it does cost $99 to use it. I’ll stick with Atom for now! TinyMCE is an open-source JavaScript HTML WYSIWYG editor. It’s easy to integrate, and is highly customisable with themes.
- Then it will be used as the default editor for any text-based file that doesn't yet have an application preference for its extension. For instance, if you use the terminal, the command open -t will use your preferred text editor, which is whatever application is associated with.txt files.
That's my favourite editor for doing PHP/CSS/HTML/JS. It will at least keep your indentation level from the last line. You can also add tools to do auto-formatting on blocks of text, e.g., run it through a code formatter.
I'd like to use Javascript (or perhaps some more suitable script?) to open an HTML file in Text Edit (I'm on a mac)
I have a local web page made using Text Edit with different tabs that link to more Text Edit files on the page.
I'd like some way of quickly opening the tabs in Text Edit from my browser, then I could edit the HTML files easily in Text Edit and when I refresh the browser it will display my newly edited tab.
Pretty sure this should be simple but I'm a total beginner at Javascript and apart from going through the W3Schools tutorials, I have no knowledge of JScript per se.
Thank you for any help with this in advance.
2 Answers
I don't think TextEdit has a web listener of that sort, like Twitter for Mac has for Safari. I think you would need AppleScript to be able to do this, and that would only be on your local machine.
Anriëtte MyburghAnriëtte Myburgh...wat? Just get a good text editor. I recommend Sublime Text 2 or Espresso.
Ian