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