Prism added
This commit is contained in:
1 parent
12fe12f839
commit
b4a4af89da
6 files changed
+2089
-1223
No files matched your search
File diff suppressed because it is too large.
Load diff
@@ -52,8 +52,8 @@ function newSuperalgosDocSpace() {
|
||||
function setUpContextMenu() {
|
||||
window.contextMenu = {
|
||||
editParagraph: editParagraph,
|
||||
toJsCode: toJsCode,
|
||||
toJsonCode: toJsonCode,
|
||||
toJavascript: toJavascript,
|
||||
toJson: toJson,
|
||||
toText: toText,
|
||||
toTitle: toTitle,
|
||||
toSubtitle: toSubtitle,
|
||||
@@ -93,6 +93,12 @@ function newSuperalgosDocSpace() {
|
||||
if (selectedParagraph.id.indexOf('warning') >= 0) {
|
||||
extraClassName = ' ' + 'docs-alert-warning'
|
||||
}
|
||||
if (selectedParagraph.id.indexOf('javascript') >= 0) {
|
||||
extraClassName = ' ' + 'language-javascript'
|
||||
}
|
||||
if (selectedParagraph.id.indexOf('json') >= 0) {
|
||||
extraClassName = ' ' + 'language-json'
|
||||
}
|
||||
|
||||
textArea = document.createElement('textarea');
|
||||
textArea.id = "textArea";
|
||||
@@ -109,11 +115,11 @@ function newSuperalgosDocSpace() {
|
||||
}
|
||||
}
|
||||
|
||||
function toJsCode() {
|
||||
function toJavascript() {
|
||||
|
||||
}
|
||||
|
||||
function toJsonCode() {
|
||||
function toJson() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user