Socket
Book a DemoInstallSign in
Socket

@patternslib/pat-tinymce

Package Overview
Dependencies
Maintainers
7
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@patternslib/pat-tinymce

A pattern for tinymce

latest
Source
npmnpm
Version
3.0.0
Version published
Weekly downloads
2
100%
Maintainers
7
Weekly downloads
 
Created
Source

pat-tinymce

Documentation

TinyMCE text editor pattern.

Options reference

PropertyDefault ValueValuesTypeDescription
inlinefalsetrue, falseBooleanInitializes TinyMCE in iframe mode (default) or inline mode (true).
content-cssfalseURLStringURL to the css used for the content in TinyMCE. Ignored in inline mode. If not given, uses a default from a cloudflare CDN.
plugins[]ArrayList of plugins to load.

Examples

TinyMCE in iframe mode

this is a non-inline / iframe instance of tinymce.
<textarea class="pat-tinymce" data-pat-tinymce="inline: false">
this is a non-inline / iframe instance of tinymce.
</textarea>

TinyMCE in inline mode

this is a non-inline / iframe instance of tinymce.
<textarea class="pat-tinymce" data-pat-tinymce="inline: true">
this is a non-inline / iframe instance of tinymce.
</textarea>

Keywords

patternslib

FAQs

Package last updated on 28 Jun 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts