mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-20 23:46:14 -04:00
Bugfix for this being wrong in editorInfo.ace_performDocumentApplyAttributesToRange
This commit is contained in:
parent
7cf4510bf5
commit
3a62c6d2ab
1 changed files with 3 additions and 1 deletions
|
@ -5401,7 +5401,9 @@ function Ace2Inner(){
|
||||||
|
|
||||||
// Init documentAttributeManager
|
// Init documentAttributeManager
|
||||||
documentAttributeManager = new AttributeManager(rep, performDocumentApplyChangeset);
|
documentAttributeManager = new AttributeManager(rep, performDocumentApplyChangeset);
|
||||||
editorInfo.ace_performDocumentApplyAttributesToRange = documentAttributeManager.setAttributesOnRange;
|
editorInfo.ace_performDocumentApplyAttributesToRange = function () {
|
||||||
|
return documentAttributeManager.setAttributesOnRange.apply(documentAttributeManager, arguments);
|
||||||
|
};
|
||||||
|
|
||||||
$(document).ready(function(){
|
$(document).ready(function(){
|
||||||
doc = document; // defined as a var in scope outside
|
doc = document; // defined as a var in scope outside
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue