Sha256: c445b37df742fb97fa2f9ffa1096e343a1c277a83564a0f339eb7d3336e91e6a
Contents?: true
Size: 461 Bytes
Versions: 4
Compression:
Stored size: 461 Bytes
Contents
import {Controller} from "@hotwired/stimulus" export default class extends Controller { connect() { if (typeof RedactorX == 'undefined') { console.error("RedactorX is a paid module and is not included in Headmin. Please purchase it and import it as a JS module") return false; } const options = JSON.parse(this.element.getAttribute('data-redactor-options')) RedactorX(this.element, options); } }
Version data entries
4 entries across 4 versions & 1 rubygems