Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <textarea><h1>Best custom emojis for Slack and the workplace</h1>
  <p><img src="https://images.ctfassets.net/s600jj41gsex/w7OCwagmDiJnxEsethdRM/aa5b29ad044d63da73c323c9c2ea3d5b/Image_default_world-emoji-day.png?w=768&amp;q=50&amp;fit=scale" alt="Woman stands in front of a colorful painted brick wall, holding balloons shaped like emoji, with a cheeky-faced balloon covering her face." width="281" height="231" /></p>
	<p><a href="https://www.tiny.cloud/blog/author/ben-long" data-marketing="link-author-ben-long" data-test-id="link-author-ben-long-test">Ben Long</a></p>
  <p>July 14th, 2020</p>
  <div style="margin: 0px 0px 1rem; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; font-family: avenir, helvetica, arial, sans-serif;"><span style="margin: 0px; padding: 0px; border: 0px; font-size: 36pt; vertical-align: baseline;">&#x1F601; &#x1F30E; &#x1F389; &#x1F4C5;</span></div>
  <p>Happy World Emoji Day! To celebrate this special day on July 17, we&rsquo;re taking a closer look at the not-so-humble emoji.</p>
	<p>Emojis have come a long way over the last few years, but (aside from ancient Egyptian hieroglyphics) today&rsquo;s emojis originated in the late 1800s. The first emojis came from facial expressions formed out of punctuation, and it&rsquo;s fair to say that these are still pretty popular today :-O</p>
  <p><!-- pagebreak --></p>
	<p>Over the last few years, emojis (or emoticons) have exploded in variety and usage, with an increasing number of people using emojis in the workplace. Emojis are almost everywhere, from text-based conversations on email or Slack, to marketing materials and content aimed at customers and clients.</p>
  <p>Emojis have become a huge part of everyday language, helping to express emotion, tone, personality, and intent (important when you&rsquo;re not in a face-to-face conversation) and make conversations more fun. Plus, you can use emoticons to break up text and add structure (like bullet points) in areas where text formatting options are limited.</p>
  <p>From custom Slack emojis to emojis in your text editor, there are so many ways to incorporate emojis into your everyday work conversations and marketing. So, let&rsquo;s look at what&rsquo;s new for emojis in 2020, how to encourage emoji usage at work, and some practical tips to help your team confidently use emojis (without overdoing it).</p>
</textarea>
              
            
!

CSS

              
                
              
            
!

JS

              
                tinymce.init({
  selector: "textarea",
  plugins: 'export pagebreak code',
  toolbar: 'export pagebreak code',

  height: 720,
  content_style: "h1 { margin: 1.25rem 0px 1rem; padding: 0px; border: 0px; font-size: 2.0rem; vertical-align: baseline; line-height: 1.4; font-stretch: normal; color: #283c6f; font-family: avenir, helvetica, arial, sans-serif; } a { margin: 0px; padding: 0px; border: 0px; font-size: 1.125rem; vertical-align: baseline; text-decoration-line: none; cursor: pointer; color: #0c74db; font-weight: bold; transition: color 0.1s ease 0s; display: inline; line-height: 1.75rem; font-family: avenir, helvetica, arial, sans-serif; } p { margin: 0px 0px 1.5rem; padding: 0px; border: 0px; font-size: 16px; vertical-align: baseline; line-height: 1.71; color: #415484; font-stretch: normal; display: flex; font-family: avenir, helvetica, arial, sans-serif; }"
});
              
            
!
999px

Console