touchstudy-core 0.1.156 → 0.1.157
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +5 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -10242,8 +10242,11 @@ var TinyEditor = function TinyEditor(_ref) {
|
|
10242
10242
|
height: 150,
|
10243
10243
|
menubar: false,
|
10244
10244
|
readonly: false,
|
10245
|
+
external_plugins: {
|
10246
|
+
tiny_mce_wiris: '/editor/wiris-for-tinymce.js'
|
10247
|
+
},
|
10245
10248
|
plugins: ['anchor', 'autolink', 'charmap', 'codesample', 'emoticons', 'image', 'link', 'lists', 'media', 'searchreplace', 'table', 'visualblocks', 'wordcount'],
|
10246
|
-
toolbar: 'undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | addcomment showcomments | spellcheckdialog a11ycheck typography | align lineheight | checklist numlist bullist indent outdent | emoticons charmap | removeformat',
|
10249
|
+
toolbar: 'undo redo | blocks fontfamily fontsize | bold italic underline strikethrough | link image media table mergetags | addcomment showcomments | spellcheckdialog a11ycheck typography | align lineheight | checklist numlist bullist indent outdent | emoticons charmap | removeformat | tiny_mce_wiris_formulaEditor | tiny_mce_wiris_formulaEditorChemistry',
|
10247
10250
|
branding: false,
|
10248
10251
|
extended_valid_elements: '*[.*]'
|
10249
10252
|
};
|
@@ -10257,7 +10260,7 @@ var TinyEditor = function TinyEditor(_ref) {
|
|
10257
10260
|
return React__default.createElement(tinymceReact.Editor, {
|
10258
10261
|
disabled: disabled,
|
10259
10262
|
init: config || options,
|
10260
|
-
|
10263
|
+
value: initValue,
|
10261
10264
|
onEditorChange: handleChange
|
10262
10265
|
});
|
10263
10266
|
};
|