use innerText instead of innerHtml to read the contents of the editor parent.
This commit is contained in:
parent
b5a665c33e
commit
46cbba5203
4 changed files with 9 additions and 8 deletions
|
|
@ -134,10 +134,10 @@ copy({
|
|||
//filter: copy.filter.uglifyjs,
|
||||
dest: 'build/ace.js'
|
||||
});
|
||||
copy({
|
||||
source: data,
|
||||
dest: 'build/ace-uncompressed.js'
|
||||
});
|
||||
//copy({
|
||||
// source: data,
|
||||
// dest: 'build/ace-uncompressed.js'
|
||||
//});
|
||||
|
||||
copy({
|
||||
source: [
|
||||
|
|
@ -151,7 +151,7 @@ copy({
|
|||
copy({
|
||||
source: "lib/ace/worker/worker.js",
|
||||
filter: [function(data) {
|
||||
return data + "\nimportScripts('ace-uncompressed.js')";
|
||||
return data + "\nimportScripts('ace.js')";
|
||||
}],
|
||||
dest: 'build/worker.js'
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue