Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
825dbddd
Commit
825dbddd
authored
Sep 12, 2014
by
Sarina Canelake
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5165 from lduarte1991/lduarte-harvardx-pr25
Annotation Tool: Fixed TinyMCE issue when changing units
parents
9fc4fbc1
cf95dc0b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
common/static/js/vendor/ova/richText-annotator.js
+4
-3
No files found.
common/static/js/vendor/ova/richText-annotator.js
View file @
825dbddd
...
...
@@ -130,10 +130,11 @@ Annotator.Plugin.RichText = (function(_super) {
});
};
// makes sure that
tinymce is not initiated by checking if editors exist
if
(
tinymce
.
editors
.
length
===
0
)
{
tinymce
.
init
(
this
.
options
.
tinymce
);
// makes sure that
if tinymce exists already that this removes/destroys previous version
if
(
tinymce
.
editors
.
length
>
0
)
{
tinymce
.
remove
(
"li.annotator-item textarea"
);
}
tinymce
.
init
(
this
.
options
.
tinymce
);
};
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment