mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-23 08:56:17 -04:00
Merge pull request #1671 from ether/ace_document_expose
expose ace document, reqjired for various plugins
This commit is contained in:
commit
8b7db49f9c
1 changed files with 5 additions and 0 deletions
|
@ -1013,6 +1013,11 @@ function Ace2Inner(){
|
||||||
return caughtErrors.slice();
|
return caughtErrors.slice();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
editorInfo.ace_getDocument = function()
|
||||||
|
{
|
||||||
|
return doc;
|
||||||
|
};
|
||||||
|
|
||||||
editorInfo.ace_getDebugProperty = function(prop)
|
editorInfo.ace_getDebugProperty = function(prop)
|
||||||
{
|
{
|
||||||
if (prop == "debugger")
|
if (prop == "debugger")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue