mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-05 21:50:02 +00:00
b629b1412d
* fix for #3547 see https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty because of "strict mode" - the `parentNode` property may not be writable and causes an error in `fakedom.js` (appendChild) to reproduce: install CodeMirror, install "Tools for exploring internals of TW", open a heavy Tiddler like the Control-Panel in edit-mode, toggle preview on, switch to "parse tree" or "widget tree" * check for tw fakedom
title: $:/plugins/tiddlywiki/codemirror/readme This plugin provides an enhanced text editor component based on [[CodeMirror|http://codemirror.net]]. The basic configuration is designed to be as lightweight as possible and is just around 235kb of size. Additional features can be installed with ~CodeMirror ~AddOns from the plugin library: * Code colouring for many languages (see [[the official documentation here|http://codemirror.net/mode/index.html]]) * Auto closing brackets and tags * Folding brackets, comments, and tags * Auto-completion * Search and Replace * Fullscreen Editing * Optional Emacs, Sublime Text or Vim Keymaps [[Source code|https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/codemirror]] Based on ~CodeMirror version 5.37.0