
committed by
GitHub

No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 92 additions and 18 deletions
-
41_includes/codepens/advcode/index.html
-
17_includes/codepens/advcode/index.js
-
11_includes/misc/advcode-shortcuts.md
-
2advanced/keyboard-shortcuts.md
-
5enterprise/advcode.md
-
14plugins/advcode.md
-
20release-notes/release-notes54.md
@ -0,0 +1,41 @@ |
|||
<table> |
|||
<thead> |
|||
<tr> |
|||
<th style="width: 50%"><h2>The Code Plugin</h2></th> |
|||
<th style="width: 50%"><h2>The Advanced Code Editor Plugin</h2></th> |
|||
</tr> |
|||
</thead> |
|||
<tbody> |
|||
<tr> |
|||
<td style="width: 50%"> |
|||
<textarea class="codedemo"> |
|||
<p>The Code (<code>code</code>) plugin provides a dialog for viewing and editing the HTML of the editor content.</p> |
|||
<p>To open the Code dialog:</p> |
|||
<ul> |
|||
<li>On the menu bar, open <strong>View</strong> > <strong>Source code</strong>.</li> |
|||
<li>On the menu bar, open <strong>Tools</strong> > <strong>Source code</strong>.</li> |
|||
<li>Click the <strong>Source code</strong> toolbar button.</li> |
|||
</ul> |
|||
</textarea> |
|||
</td> |
|||
<td style="width: 50%"> |
|||
<textarea class="advcodedemo"> |
|||
<p>The Advanced Code Editor (<code>advcode</code>) plugin provides the same dialog as the code (<code>code</code>) plugin, but with the following additional features:</p> |
|||
<ul> |
|||
<li>Syntax highlighting</li> |
|||
<li>Element matching and closing</li> |
|||
<li>Code folding</li> |
|||
<li>Multiple selections/carets</li> |
|||
<li>Search and replace</li> |
|||
</ul> |
|||
<p>To open the Advanced Code Editor dialog:</p> |
|||
<ul> |
|||
<li>On the menu bar, open <strong>View</strong> > <strong>Source code</strong>.</li> |
|||
<li>On the menu bar, open <strong>Tools</strong> > <strong>Source code</strong>.</li> |
|||
<li>Click the <strong>Source code</strong> toolbar button.</li> |
|||
</ul> |
|||
</textarea> |
|||
</td> |
|||
</tr> |
|||
</tbody> |
|||
</table> |
@ -0,0 +1,17 @@ |
|||
tinymce.init({ |
|||
selector: 'textarea.advcodedemo', |
|||
plugins: 'advcode', |
|||
toolbar: 'code', |
|||
|
|||
content_css: '//www.tiny.cloud/css/codepen.min.css', |
|||
height: 600 |
|||
}); |
|||
|
|||
tinymce.init({ |
|||
selector: 'textarea.codedemo', |
|||
plugins: 'code', |
|||
toolbar: 'code', |
|||
|
|||
content_css: '//www.tiny.cloud/css/codepen.min.css', |
|||
height: 600 |
|||
}); |
@ -0,0 +1,11 @@ |
|||
## Advanced Code Editor search and replace keyboard shortcuts |
|||
|
|||
Advanced Code Editor provides the following shortcuts for search and replace within the code dialog. |
|||
|
|||
| Action | PC | Mac | |
|||
| ---- | ----- | ----- | |
|||
| Find | Ctrl+F | Command+F | |
|||
| Find next instance | Ctrl+G | Command+G | |
|||
| Find previous instance | Shift+Ctrl+G | Shift+Command+G | |
|||
| Replace | Ctrl+H | Command+Option+F | |
|||
| Replace All | Shift+Ctrl+R | Shift+Command+Option+F | |
Write
Preview
Loading…
Cancel
Save
Reference in new issue