-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: chart extension * feat: multiple chart instance * refactor: csv, dsv parser to papa * refactor: apply review (ref #1010) * fix: remove papa global dependency (fix #1011) * refactor: change default chart to column * feat: support whitespace separated values for chart data (ref #1009) * refactor: apply code review (ref #1013)
- Loading branch information
1 parent
1403676
commit b6ea7c5
Showing
9 changed files
with
1,351 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head lang="en"> | ||
<meta charset="UTF-8"> | ||
<title>DEMO</title> | ||
<script src="../lib/markdown-it/dist/markdown-it.js"></script> | ||
<script src="../lib/toMark/dist/toMark.js"></script> | ||
<script src="../lib/jquery/dist/jquery.js"></script> | ||
<script src="../lib/tui-code-snippet/dist/tui-code-snippet.js"></script> | ||
<script src="../lib/tui-component-colorpicker/dist/colorpicker.js"></script> | ||
<script src="../lib/codemirror/lib/codemirror.js"></script> | ||
<script src="../lib/highlightjs/highlight.pack.js"></script> | ||
<script src="../lib/squire-rte/build/squire-raw.js"></script> | ||
<script src="../lib/plantuml-encoder/dist/plantuml-encoder.js"></script> | ||
<script src="../lib/raphael/raphael.min.js"></script> | ||
<script src="../lib/tui-chart/dist/chart.js"></script> | ||
<link rel="stylesheet" href="../lib/codemirror/lib/codemirror.css"> | ||
<link rel="stylesheet" href="../lib/highlightjs/styles/github.css"> | ||
<link rel="stylesheet" href="../dist/tui-editor.css"> | ||
<link rel="stylesheet" href="../dist/tui-editor-contents.css"> | ||
<link rel="stylesheet" href="../lib/tui-component-colorpicker/dist/colorpicker.css"> | ||
<link rel="stylesheet" href="../lib/tui-chart/dist/chart.css"> | ||
<style type="text/css"> | ||
html, body { | ||
padding: 0; | ||
margin: 0; | ||
height: 100%; | ||
} | ||
#editSection { | ||
padding: 15px; | ||
padding-top: 35px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="editSection"></div> | ||
<script src="../dist/tui-editor.js"></script> | ||
<script> | ||
$('#editSection').tuiEditor({ | ||
previewStyle: 'vertical', | ||
height: '100%', | ||
initialEditType: 'wysiwyg', | ||
useCommandShortcut: true, | ||
exts: ['scrollFollow', 'colorSyntax', 'chart'] | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.