cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatspinnerstartv

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 in the latest release, including the image caption option, media embeds and code snippets.

      <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',
  toolbar: 'image media codesample',
  image_caption: true,
  media_live_embeds: true,
  imagetools_cors_hosts: ['tinymce.com', 'codepen.io'],
  content_css: [

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................