Go to file
MatmaRex 7287c80293 Redo ve.createDocumentFromHTML() properly
Redone using document.implementation.createHTMLDocument instead of the
iframe trick. It's supported by all browsers we target, including IE9.

This also makes VE work on Opera using a nasty hack.
* Previously, for reasons I'm not even trying to understand, Opera
  would sometimes return an empty generic object from
  ve.createDocumentFromHTML() - but only if you weren't debugging it
  (Dragonfly was disabled). I have no idea what is it about the iframe
  hack that makes it not like it, but fact is, it doesn't work.
* Calling .open(), .write() or .close() on the document returned by
  document.implementation.createHTMLDocument acts as if it was
  window.document - that is, the entire contents of the web page are
  replaced with new ones. That's probably a one-word bug somewhere
  deep in Opera's innards; I reported it (it got the identifier
  DSK-384486). Until it gets fixed, we work around it by using
  document.documentElement.innerHTML, which works reliably.

Change-Id: I90ea547c735edaba9f7ecb8f685351ac6499c53e
2013-04-25 20:08:21 +02:00
.docs UI "Views" refactor 2013-04-18 15:53:50 -07:00
demos Allow resizing nodes 2013-04-19 12:44:33 -07:00
maintenance Fix 404 on iframe styles by standardizing get and set modules methods. 2013-04-10 10:18:39 -07:00
modules Redo ve.createDocumentFromHTML() properly 2013-04-25 20:08:21 +02:00
.gitignore Ignore Eclipse files 2013-01-11 10:58:47 -08:00
.gitreview Set defaultrebase=0 2012-06-20 16:27:40 -07:00
.jshintignore UnicodeJS library to implement Unicode standards 2013-03-27 17:44:22 +00:00
.jshintrc JSHint: Re-order jshintrc options to split common from project settings 2013-04-13 08:53:11 +02:00
ApiVisualEditor.php Actually send oldid on POST like we promised Parsoid we would 2013-04-19 22:24:31 +00:00
AUTHORS.txt Add Ed 2013-02-12 16:06:21 -08:00
CODING.md Document and clean up events in all the things 2013-03-20 09:58:27 -07:00
LICENSE.txt Bump copyright year range to 2013 in the licence file 2013-03-18 09:55:57 -07:00
README.txt Remove the parser from the VE repo 2012-07-30 13:19:09 -07:00
VisualEditor.hooks.php Move config vars that are global in nature to the startup module 2013-04-18 20:00:55 -07:00
VisualEditor.i18n.php Localisation updates from http://translatewiki.net. 2013-04-20 22:44:05 +00:00
VisualEditor.php Merge "Move config vars that are global in nature to the startup module" 2013-04-22 15:06:07 +00:00
VisualEditorMessagesModule.php Bump copyright notice year range to -2013 over -2012 2013-02-19 15:37:34 -08:00

VisualEditor provides a visual editor for wiki pages. It is written in
JavaScript and runs in a web browser. 

It uses the Parsoid parser to convert wikitext documents to annotated HTML
which the VisualEditor is able to load, modify and emit back to Parsoid at
which point it is converted back into wikitext.

For more information about these projects, check out the wiki:

	* http://www.mediawiki.org/wiki/VisualEditor
	* http://www.mediawiki.org/wiki/Parsoid