Laravel EnsoLaravel Enso
Guide
Back End
Front End
GitHub
Guide
Back End
Front End
GitHub
  • Front End

    • Accessories
    • Action Logger
    • Addresses
    • Alfa Sign
    • Algolia
    • API
    • Audit
    • Auth
    • Bookmarks
    • BTRL
    • Calendar
    • Card
    • Cargo Partner
    • Categories
    • Charts
    • Checkbox
    • Clipboard
    • Comments
    • Commercial
    • Companies
    • Confirmation
    • Currencies
    • Data Import
    • Date
    • Datepicker
    • Directives
    • Discounts
    • Divider
    • Documents
    • Dropdown
    • Dropdown Indicator
    • Eav
    • Emag
    • Enums
    • ERD
    • Facebook
    • Files
    • Filters
    • Financials
    • Forms
    • Frisbo
    • Google
    • Holidays
    • How to
    • Interactions
    • Inventory
    • IO
    • Laravel Validation
    • Loader
    • Localisation
    • Logs
    • Measurement Units
    • Meili Search
    • Menus
    • Mixins
    • Modal
    • Money
    • Monitored Emails
    • Notifications
    • Orderable Trees
    • Packaging Units
    • Pagination
    • People
    • Permissions
    • Product Lots
    • Products
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Projects
    • Questionnaires
    • Quick View
    • Range Slider
    • Rating
    • Roles
    • Route Mapper
    • Sale Channels
    • Scroll to Top
    • Search Mode
    • Select
    • Send SMS
    • Sentry
    • Services
    • Smart Bill
    • SMS Advert
    • Strings
    • Switch
    • System Notifications
    • Tables
    • Tabs
    • Tasks
    • Teams
    • Textarea
    • Themes
    • Ticketing
    • Toastr
    • Transitions
    • Tree View
    • Tutorials
    • Typeahead
    • Typesense
    • UI
    • Uploader
    • UPS
    • User Groups
    • Users
    • Virtual Call Center
    • Vouchers
    • Webshop
    • WYSIWYG

WYSIWYG

LicenseStableDownloadsVueJavaScriptSCSSnpmIssuesMerge Requests

Description

WYSIWYG field for Enso UI, with TinyMCE as the default editor and optional Trix support.

Installation

Install the package:

yarn add @enso-ui/wysiwyg

Features

  • exports Wysiwyg as its public surface
  • supports tinymce and trix editor engines
  • keeps TinyMCE as the default editor for backward compatibility
  • keeps the Bulma presentation layer separate from the renderless/stateful layer where applicable

Usage

<script setup>
import Wysiwyg from '@enso-ui/wysiwyg/bulma';
</script>

<Wysiwyg v-model="content"
    :has-error="false"/>

<Wysiwyg v-model="content"
    editor="trix"
    :has-error="false"/>

API

Wysiwyg

Public export available from src/bulma/Wysiwyg.vue.

Props:

  • hasError
  • editor
  • menubar
  • plugins
  • toolbar

editor defaults to tinymce. Set it to trix to use the Trix editor.

Trix

Trix uses the same v-model contract as TinyMCE:

<Wysiwyg v-model="content"
    editor="trix"
    :has-error="false"/>

Form renderers may pass this through backend metadata as meta.editor: 'trix'.

Changelog

See CHANGELOG.md.

Depends On

  • No additional Enso UI package dependencies.
  • trix

Contributions

are welcome. Pull requests are great, but issues are good too. Thank you to all the people who already contributed to Enso!

License

MIT

Edit this page on GitHub
Last Updated: 6/9/2026, 10:53:16 AM
Prev
Webshop