🚀 DAY 3 OF LAUNCH WEEK: Introducing Webhook Events for Pull Request Scans.Learn more →
Socket
Book a DemoInstallSign in
Socket

@videoly/ember-trix-next

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@videoly/ember-trix-next

A simple trix editor wrapper

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
3
Created
Source

@videoly/ember-trix-next

CI

A simple trix editor wrapper

Compatibility

  • Ember.js v3.24 or above
  • Ember CLI v3.24 or above
  • Node.js v12 or above

Installation

ember install @videoly/ember-trix-next

Usage

In the most cases it would be enough just to use the inline variant of the component:

<TrixEditor
  @trixChange={{this.handleTrixChangeEvent}}
  @initialValue="some text" />

Or you can customize the markup:

<TrixEditor as |trix|>
  <p>Some HTML before toolbar</p>
  <trix.toolbar />
  <p>Some HTML between toolbar and editor</p>
  <trix.editor
    @trixChange={{this.handleTrixChangeEvent}}
    @initialValue="some text" />
  <p>Some HTML after editor</p>
</TrixEditor>

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

Keywords

ember-addon

FAQs

Package last updated on 11 Mar 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