tinyMCE(inputId, content, options = NULL)
HTML
functiona tinyMCE editor element that can be included in a panel
Display a tinyMCE editor within an application page.
# Basic editors tinyMCE('editor1', 'Click to edit text')<div id="editor1" class="shinytinymce" style="resize: none; width: 100%; height: 100%; border-style: none; background: gainsboro;">Click to edit text</div> <script>tinymce.init({selector:".shinytinymce", });</script>tinyMCE('editor1', HTML('<p><strong>Click</strong> to edit text</p>'))<div id="editor1" class="shinytinymce" style="resize: none; width: 100%; height: 100%; border-style: none; background: gainsboro;"><p><strong>Click</strong> to edit text</p></div> <script>tinymce.init({selector:".shinytinymce", });</script># With options tinyMCE('editor1', 'This is an inline tinyMCE editor', 'inline: true')<div id="editor1" class="shinytinymce" style="resize: none; width: 100%; height: 100%; border-style: none; background: gainsboro;">This is an inline tinyMCE editor</div> <script>tinymce.init({selector:".shinytinymce", inline: true});</script>