Commit graph

16 commits

Author SHA1 Message Date
Fomafix b3279e4382 Remove outdated comments about known issues
On tab close on Firefox there is a 'discard your changes?' dialog.

On preview the cursor/scroll position is still on the same position.
Just the focus is not in the textarea, but this in WikiEditor, too.

Change-Id: I0d7b59c39381cdc7da72c0a6c366d74071f7ef54
2023-12-29 10:26:21 +00:00
Ed Sanders 5cac43ddd3 build: Update eslint-config-wikimedia to 0.11.0
Change-Id: I99fd10fbcce5d5e6b87b6e3faeb7b18c4e573ef7
2019-03-13 22:38:54 +00:00
jenkins-bot 736eb68e21 Merge "Remove browser support comments" 2018-03-21 23:40:07 +00:00
Ed Sanders af94c2b052 Remove browser support comments
* "Tested with" should be assumed to be Grade A browsers
* "Browsers with issues" are all no longer supported

Change-Id: I942ed087636ad8e5f74cd131132909e7434bd957
2018-03-21 23:18:27 +00:00
Ed Sanders d278279abd Remove comment about resolved upstream issue
Change-Id: Ia92bb37bca7613049d9f3cd3601b78864c303d48
2018-03-21 23:18:23 +00:00
Fomafix 84be29b197 Replace $( document ).ready(...) by $(...)
In jQuery 3 $(document).ready(...) is deprecated.
https://jquery.com/upgrade-guide/3.0/#deprecated-document-ready-handlers-other-than-jquery-function

Change-Id: Id8cfdfa74c1789db1b24c39c16e51c7a0c408f11
2017-01-05 23:03:28 +01:00
Fomafix d10cfbb1bf Update URLs from http://ace.ajax.org/ to https://ace.c9.io/
http://ace.ajax.org/ redirects to https://ace.c9.io/

Change-Id: Ib915fec2855bfcec1a7d9b3c91dd3dd13db703ab
2016-01-27 11:01:54 +00:00
Derk-Jan Hartman 838c627728 Make sure that wikieditor context is ready
This fixes a bug where the event could be triggered before the
WikiEditor context was ready. Also make sure that the fragment monitor
takes into account the possible disabled state of the CodeEditor.

Bug: T103802
Change-Id: Id5564c4a91a0a14632024781f3e57b68c4803970
2015-08-27 21:22:09 +02:00
Siebrand Mazeland 2d121364d3 Update formatting of JavaScript files
Change-Id: I7a18b7f76f7c0a064645f23974f1fe09dafc4ca2
2013-12-31 13:03:11 +01:00
Amir E. Aharoni 54c5b35bc3 Explicit dir="ltr" for code
Change-Id: Ia7d6958a10481c39abb1406b67210cac998818e7
2013-08-24 11:19:30 +03:00
Tim Starling 8fe95e1469 Fixed a couple of minor issues in r115010:
* Scroll up a few lines so that the user can see the error context
* Defer processing of the fragment until the load event, otherwise the code editor is not fully initialised and does not properly respond to the navigateTo() call.
2012-04-23 11:40:43 +00:00
Tim Starling 7fc4552a8d Allow links to specific lines of code using a special fragment syntax 2012-04-23 04:09:47 +00:00
Brion Vibber 81ba498314 CodeEditor ext: basic ability to toggle the syntax-highlighting editor on/off.
When off, we restore the regular textarea and its behavior.
State is saved as a cookie, like other WikiEditor settings.
2011-06-16 22:30:01 +00:00
Brion Vibber 18af202a72 Partway through integrating CodeEditor more closely with WikiEditor. Special character insertions now work! Bold, link etc will insert their sample text, which is less useful but hey. 2011-06-10 01:11:18 +00:00
Brion Vibber e3f5ab3f2e Update CodeEditor extension to load Ace editor via RL instead of manually 2011-06-09 22:17:00 +00:00
Brion Vibber ec233e4297 Add stub extension version of CodeEditor embedding Ace (ace.ajax.org) for editing JS and CSS pages.
Simply using the existing gadget version modified to load Ace from the extension directory for now, will integrate better into WikiEditor and use ResourceLoader to load Ace itself in upcoming commits.
2011-06-09 21:50:45 +00:00