includes/clientside/static/editor.js
2010-10-28 Dan Fuhry Added an editor hook that allows plugins to insert their own content right before the editor box.
2010-08-17 Dan Fuhry Visual refresh on the textarea in the enanium page editor. Also fixed missing image on the Save Draft button.
2010-03-29 Dan Going ahead with the switch to tabs. This is a major coding standards change! If any unusual parser bugs show up, check this changeset. Converted all .php, .js, .tpl, .css, and .json files and did basic testing.
2009-08-25 Dan Fixed a couple bugs with read-only mode and protected pages in the AJAX editor
2009-07-18 Dan Editor: completely moved wiki edit notice to AJAX fetch, so it's not shipped with the page anymore.
2009-03-22 Dan JSON: Properly handles unicode escape sequences (\u####) now
2009-02-16 Dan Major redesign of rendering pipeline that separates pages saved with MCE from pages saved with the plaintext editor (full description in long commit message)
2009-01-26 Dan AJAX core library: possible breaking change, readystatechange functions are now called with the XHR instance as the first parameter, to allow requests to run in parallel. This means much better stability but may break some applets (compatibility hack is included)
2008-12-21 Dan load_component() now accepts an array, and most JS components are loaded all in one request now. Totally modular baby. And failsafe too.
2008-12-20 Dan Fixed: editor state was not unlocked after draft save
2008-08-24 Dan Fixed draft controls being shown in view source mode
2008-08-21 Dan Autocomplete further stabilized. Made Special:PasswordReset and Special:Register prevent use if logged in.
2008-08-13 Dan Fixed that exception that was thrown on draft save in fx3
2008-07-29 Dan Added abutton_img class + supporting properties in miniPromptMessage to allow icons on abuttons
2008-07-28 Dan Added tab-based interface to userpage UI. Yes, it is plugin expansible, and yes, it breaks existing plugins that add code to the userpage (but that can be fixed with a "colspan=4")
2008-07-22 Dan Improved JSON validation and error interface when validation fails; made rank manager support custom CSS
2008-07-20 Dan Added CDN support: a URL to a CDN can now be specified and Enano will load all images, CSS, and javascript (except TinyMCE) from that server
2008-07-10 Dan Fixed another bad tinyMCE reference in editor.js
2008-06-27 Dan Upgraded TinyMCE to 3.1.0.1. Ported a couple special pages to the componentized JS system.
2008-06-25 Dan Majorly reworked Javascript runtime stuff to use on-demand loading.
2008-06-15 Dan Moved some TinyMCE init code to make JS early init work
2008-05-16 Dan Added user preference for disabling visual effects in Javascript applets; added re-import button to installed plugins
2008-05-11 Dan Added ability to delete the draft revision; [SECURITY] fixed lack of permission check on draft save; renamed messagebox() constructor to MessageBox() (backward compat. maintained)
2008-05-06 Dan Added TinyMCE compression support and made some supporting modifications to common.php
2008-05-05 Dan Massive commit with various changes. Added user ranks system (no admin interface yet) and ability for users to have custom user titles. Made cron framework accept fractions of hours through floating-point intervals. Modifed ACL editor to use miniPrompt framework for close confirmation box. Made avatar system use a special page as opposed to fetching the files directly for caching reasons.
2008-03-16 Dan Added support for embedding language data into plugins; updated all version numbers on plugin files
2008-03-07 Dan Upgraded to TinyMCE 3.0.3; made editor auto-init again but only on Safari
2008-03-06 Dan Changed TinyMCE init to run only on demand. Highly experimental.
2008-03-03 Dan Added modal dialog support for page editor; added customizability for breadcrumbs (thanks to Manoj for idea)
2008-02-24 Dan Fixed a number of IE6 bugs
2008-02-14 Dan Re-enabled, debugged, and optimized Javascript compression code
2008-02-13 Dan Unsuccessful attempt at fixing "dismiss"/"close manager" buttons in ACL editor; non-breaking change to template API to allow plugins to add "normal" sidebar widgets in addition to the special "raw" block type, specified as the third parameter to $template->sidebar_widget(). Defaults to false, which is old behavior; new behavior (enabled by passing TRUE as the 3rd param) means that the content of the block is primarily block-level links.
2008-02-12 Dan Edit summary should now be carried over when a draft is restored
2008-02-12 Dan Added autosave functionality and resurrected the old toolbar code that was added about a year ago but never uesd.
2008-02-11 Dan Modified editor and rename functions to go through the API when rolling back. This causes rollbacks to be logged.
2008-02-11 Dan Mass-fixed all AJAX functions to also check the HTTP status code before parsing the response
2008-02-08 Dan [minor] re-enabled ENANO_DANGEROUS on install.php (oops!); made textarea in page editor focus automatically
2008-02-07 Dan Made the form validation icons (check/X/?) more visually appealing. IE-friendliness is still on the TODO list.
2008-02-04 Dan Cosmetic improvements to page editor; added demo mode checks in Admin:LangManager
2008-02-03 Dan Added a heading "editing page" in page editor for visual appeal; removed use of alternate <?= ?> syntax in installer as it was causing problems on Win2k3 + PHP/FastCGI. (Experimentally using TortoiseHG's hgtk to commit)
2008-01-29 Dan Rebranded source code as 1.1.1; added TinyMCE ACL rule as per Vadi's request: http://forum.enanocms.org/viewtopic.php?f=7&t=54
2008-01-16 Dan Welcome to the new Enano installer. Much distance still to be covered but the basics are there.
2007-12-28 Dan Added ability to require CAPTCHA for guests when editing pages (AJAX INTERFACE ONLY)
2007-12-28 Dan Replaced TinyMCE 2.x with 3.0 beta 3. Supports everything but IE. Also rewrote the editor interface completely from the ground up.
2007-09-07 Dan Bugfix in Special:AllPages; fixed tinyMCE under Opera (finally!)
2007-07-10 Dan Vastly improved compatibility with older versions of IE, particularly 5.0, through the use of a kill switch that turns off all AJAX functions
2007-07-03 Dan Fixed a lot of bugs with Safari and Konqueror; improved Opera compatibility
2007-06-13 dan Adding /includes
less more (0) tip