mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
Merge branch 'MDL-80246-main' of https://github.com/mihailges/moodle
This commit is contained in:
commit
f25864aa3a
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -121,6 +121,7 @@ const getTemplateContext = (editor, data) => {
|
|||||||
|
|
||||||
return Object.assign({}, {
|
return Object.assign({}, {
|
||||||
elementid: editor.id,
|
elementid: editor.id,
|
||||||
|
elementidescaped: CSS.escape(editor.id),
|
||||||
libraries: libraries,
|
libraries: libraries,
|
||||||
texdocsurl: texDocsUrl,
|
texdocsurl: texDocsUrl,
|
||||||
delimiters: Selectors.delimiters,
|
delimiters: Selectors.delimiters,
|
||||||
|
@ -29,7 +29,8 @@
|
|||||||
|
|
||||||
Example context (json):
|
Example context (json):
|
||||||
{
|
{
|
||||||
"elementid": "exampleId",
|
"elementid": "exampleId:1",
|
||||||
|
"elementidescaped": "exampleId\\:1",
|
||||||
"texdocsurl": "http://abc.com",
|
"texdocsurl": "http://abc.com",
|
||||||
"equation": "\\Downarrow ",
|
"equation": "\\Downarrow ",
|
||||||
"delimiters": {
|
"delimiters": {
|
||||||
|
@ -29,7 +29,8 @@
|
|||||||
|
|
||||||
Example context (json):
|
Example context (json):
|
||||||
{
|
{
|
||||||
"elementid": "exampleId"
|
"elementid": "exampleId:1",
|
||||||
|
"elementidescaped": "exampleId\\:1"
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
<div class="tiny_equation_library">
|
<div class="tiny_equation_library">
|
||||||
@ -40,7 +41,7 @@
|
|||||||
}}{{#active}} aria-selected="true"{{/active}}{{!
|
}}{{#active}} aria-selected="true"{{/active}}{{!
|
||||||
}}{{^active}} aria-selected="false" tabindex="-1"{{/active}}{{!
|
}}{{^active}} aria-selected="false" tabindex="-1"{{/active}}{{!
|
||||||
}} href="#{{elementid}}_tiny_equation_group_{{key}}"{{!
|
}} href="#{{elementid}}_tiny_equation_group_{{key}}"{{!
|
||||||
}} data-target="#{{elementid}}_tiny_equation_group_{{key}}"
|
}} data-target="#{{elementidescaped}}_tiny_equation_group_{{key}}"
|
||||||
role="tab" data-toggle="tab"
|
role="tab" data-toggle="tab"
|
||||||
>
|
>
|
||||||
{{groupname}}
|
{{groupname}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user