* fix: add response section closed on switching post
* fix: response and comments actions removed from close post
* fix: undo/redo button moved to first place in editor toolbar
* fix: tests are added for closed posts
Topics that belong to deleted sections/subsections/units in a course are considered archived. This commit adds a new UI section for such topics and lists them there.
* fix: for for rendering latex in comments and responses
* fix: component is seperated for loading html in dom
* feat: added special characters support in tiny-mce
fix: skin loading with transparent background
For some reason, loading the skin from `skin.min.css` was resulting in
dialogs and menus appearing with a transparent background. Replacing the
import for the non-minified version, `skin.css`, solves the problem.
feat: enable native browser spellchecking
Disabling the TinyMCE context menu is required for the native
spellchecking right click suggestions to work.
feat: enable autosave plugin
Autosaves to local storage every second.
Restores draft when empty.
feat: add new toolbar buttons
Additional toolbar buttons requested: quoting, code formatting, HTML button with text
label, clear formatting, undo/redo
feat: add image button to the toolbar, and load the imagetools plugin
The imagetools only work on images loaded from the same domain.
feat: add image upload capability
Depends on an upload endpoint in the REST API.
feat: enable a11y_advanced_options
This will only affect the image plugin.
For full a11y checking functionality, a premium TinyMCE key is required.
fix: TinyMCE content styles not being properly loaded
Content CSS need to be loaded as raw text, to be included in the TinyMCE
initialization. For this, we need webpack's `raw-loader` as a dependency.
fix: refactor the upload API call into posts/data/api
feat: pass courseId and threadId to the upload API endpoint
fix: rename customized buttons with openedx prefix
fix: use exact version for dependencies
fix: improve jsdoc and update the upload endpoint
fix: simplify TinyMCE side of the upload call
fix: update the upload url