cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

    <img title="TinyMCE Logo" src="//www.tinymce.com/images/glyph-tinymce@2x.png" alt="TinyMCE Logo" width="110" height="97" />

  <h2>What's new in TinyMCE</h2>
    In this example we highlight new features</a> in the latest releases, including the new mobile mode, refreshed modern theme, Boundary Link checker, the image caption option, and media embeds. Visit www.tinymce.com/docs/changelog for the latest updates.

    <li><strong>TinyMCE Mobile</strong>: A new mobile-first user experience for rich-text editing comes to TinyMCE. Learn more at www.tinymce.com/mobile</li>
    <li><strong>Refreshed theme</strong>: the default theme is now brighter in keeping with modern design trends. Let us know what you think.</li> 
    <li><strong>Image captions</strong>: Click the image above. Click the image options hamburger in the modal. Check the 'caption' box and then click OK. Voila, editable captions.
      <strong>Media embeds</strong>: Click anywhere in the editable area. Click the video button in the toolbar. Add a YouTube url to the "source" input (here's a Star Wars trailer https://www.youtube.com/watch?v=sGbxmsDFVnE ). Click OK. You can even click
      play in the embedded video and watch it in the editor.
      <strong>Code Sample Plugin</strong>: Click the code sample button in the toolbar. Copy/paste a valid code block into the dialog popup and select the relevant language from the drop down. Click OK.
  selector: 'textarea',
  height: 710,
  plugins: 'image media codesample imagetools link',
  toolbar: 'link image media codesample',
  image_caption: true,
  media_live_embeds: true,
  imagetools_cors_hosts: ['tinymce.com', 'codepen.io'],
  content_css: [
Loading ..................