mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 18:39:52 +00:00
Added real round-tripping, instead of canned HTML
Change-Id: I73cef900e0777352e34818396c1e5d6f218da967
This commit is contained in:
parent
d61045085a
commit
3cef118240
|
@ -371,9 +371,8 @@
|
|||
Returns new page content
|
||||
*/
|
||||
veCore.prototype.getParsoidWikitextAndSave = function( callback ) {
|
||||
// TODO: get html from linmod converter
|
||||
var data = this.mainEditor.documentModel.getData(),
|
||||
html = "<p>Test edit made with Visual Editor</p><p>" + (new Date()).getTime() + "</p>",
|
||||
html = ve.dm.converter.getDomFromData( data ),
|
||||
summary = $('#txtEditSummary').val(),
|
||||
minor = $('#chkMinorEdit').prop('checked'),
|
||||
watch = $('#chkWatchlist').prop('checked');
|
||||
|
|
Loading…
Reference in a new issue