Skip to content

Commit

Permalink
chore: update tuidoc config and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
seonim-ryu committed Mar 18, 2020
1 parent 07ae712 commit 7c50de8
Show file tree
Hide file tree
Showing 23 changed files with 263 additions and 21 deletions.
14 changes: 13 additions & 1 deletion apps/editor/examples/example01-editor.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@
<link rel="stylesheet" href="../dist/cdn/toastui-editor.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/getting-started.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="editor"></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@
<link rel="stylesheet" href="../dist/cdn/toastui-editor.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/getting-started.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="editor"></div>
</div>
Expand Down
14 changes: 13 additions & 1 deletion apps/editor/examples/example03-editor-with-wysiwyg-mode.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@
<link rel="stylesheet" href="../dist/cdn/toastui-editor.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/getting-started.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="editor"></div>
</div>
Expand Down
21 changes: 19 additions & 2 deletions apps/editor/examples/example04-viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,26 @@
<link rel="stylesheet" href="../dist/cdn/toastui-editor-viewer.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/viewer.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="viewer"></div>
<div id="viewer">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
</div>
</div>
<!-- Added to check demo page in Internet Explorer -->
<script src="https://unpkg.com/babel-standalone@6.26.0/babel.min.js"></script>
Expand Down
21 changes: 19 additions & 2 deletions apps/editor/examples/example05-viewer-using-editor-factory.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,26 @@
<link rel="stylesheet" href="../dist/cdn/toastui-editor-viewer.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/viewer.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="viewer"></div>
<div id="viewer">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
</div>
</div>
<!-- Added to check demo page in Internet Explorer -->
<script src="https://unpkg.com/babel-standalone@6.26.0/babel.min.js"></script>
Expand Down
14 changes: 13 additions & 1 deletion apps/editor/examples/example06-editor-with-chart-plugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,19 @@
<link rel="stylesheet" href="https://uicdn.toast.com/tui.chart/v3.7.0/tui-chart.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<!-- Editor -->
<h2>Editor</h2>
Expand Down
14 changes: 13 additions & 1 deletion apps/editor/examples/example07-viewer-with-chart-plugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,19 @@
<link rel="stylesheet" href="https://uicdn.toast.com/tui.chart/v3.7.0/tui-chart.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="viewer"></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,19 @@
/>
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<!-- Editor -->
<h2>Editor</h2>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@
/>
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="viewer"></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,19 @@
/>
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="editor"></div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
</head>
<body>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<!-- Editor -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,19 @@
<link rel="stylesheet" href="../dist/cdn/toastui-editor-viewer.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="viewer"></div>
</div>
Expand Down
14 changes: 13 additions & 1 deletion apps/editor/examples/example13-editor-with-uml-plugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@
<link rel="stylesheet" href="../dist/cdn/toastui-editor.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<!-- Editor -->
<h2>Editor</h2>
Expand Down
14 changes: 13 additions & 1 deletion apps/editor/examples/example14-viewer-with-uml-plugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,19 @@
<link rel="stylesheet" href="../dist/cdn/toastui-editor-viewer.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="viewer"></div>
</div>
Expand Down
11 changes: 11 additions & 0 deletions apps/editor/examples/example15-editor-with-all-plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,17 @@
</head>
<body>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<!-- Editor -->
Expand Down
14 changes: 13 additions & 1 deletion apps/editor/examples/example16-viewer-with-all-plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,19 @@
/>
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="viewer"></div>
</div>
Expand Down
14 changes: 13 additions & 1 deletion apps/editor/examples/example17-creating-plugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,19 @@
<link rel="stylesheet" href="../dist/cdn/toastui-editor.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
<br />
You can see the tutorial
<a
href="https://github.com/nhn/tui.editor/blob/master/apps/editor/docs/plugins.md"
target="_blank"
>here</a
>.
</div>
<div class="code-html tui-doc-contents">
<div id="editor"></div>
</div>
Expand Down
7 changes: 6 additions & 1 deletion apps/editor/examples/example18-using-command.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@
<link rel="stylesheet" href="../dist/cdn/toastui-editor.css" />
</head>
<body>
<div class="tui-doc-description"></div>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
</div>
<div class="code-html tui-doc-contents">
<button id="btn" class="btn">Execute the "Bold" command</button>
<div id="editor"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@
</style>
</head>
<body>
<div class="tui-doc-description">
<strong
>The example code can be slower than your environment because the code is transpiled by
babel-standalone in runtime.</strong
>
</div>
<div class="code-html tui-doc-contents">
<div id="editor"></div>
</div>
Expand Down
Loading

0 comments on commit 7c50de8

Please sign in to comment.