Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
b4936a48
Commit
b4936a48
authored
Apr 04, 2019
by
john
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 't_3031'
h1-6
parents
5c5b2ba6
17eedc3f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
backend/web/plugins/editormd/documentation.js
backend/web/plugins/editormd/documentation.js
+10
-1
No files found.
backend/web/plugins/editormd/documentation.js
View file @
b4936a48
...
...
@@ -60,7 +60,16 @@ $(function ()
var
id
=
$
(
this
).
attr
(
'
id
'
);
$
(
'
#doccontentlang-
'
+
data_id
+
'
-markdown
'
).
val
(
testEditor
[
id
].
getMarkdown
())
$
(
'
#doccontentlang-
'
+
data_id
+
'
-html
'
).
val
(
testEditor
[
id
].
getPreviewedHTML
())
var
html_no_rewrited
=
testEditor
[
id
].
getPreviewedHTML
();
var
html_rewrited
=
html_no_rewrited
;
$
(
'
body
'
).
append
(
'
<div class="hidden hidden_tmp_result"></div>
'
);
$
(
'
.hidden_tmp_result
'
).
html
(
html_no_rewrited
);
$
(
'
.hidden_tmp_result h1,.hidden_tmp_result h2,.hidden_tmp_result h3,.hidden_tmp_result h4,.hidden_tmp_result h5,.hidden_tmp_result h6
'
).
each
(
function
()
{
$
(
this
).
html
(
$
(
this
).
text
())
});
html_rewrited
=
$
(
'
.hidden_tmp_result
'
).
html
();
$
(
'
#doccontentlang-
'
+
data_id
+
'
-html
'
).
val
(
html_rewrited
)
})
});
// $("#goto-line-btn").bind("click", function ()
...
...
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