ForgeComponents
en

Components

j-Wysiwyg

jComponent 20 · jcomponent@20 component Example loaded with jComponent 20
  • supports dark mode

Configuration:

  • placeholder {String} optional
  • code {Boolean} enables/disables word highlighting (default: true)
  • links {Boolean} enables/disables links (default: true)
  • ul {Boolean} enables/disables unordered list (default: true)
  • required {Boolean} optional, enables "required" mode (default: false)
  • allowrawpaste {Boolean} optional, enables raw pasting rich content (default: false)

Use it with <ui-component name="wysiwyg">. When the component is not loaded yet, jComponent downloads it on first use from the address in DEF.fallback (the Componentator CDN by default). Author: Peter Širka. Source: the Componentator components repository, MIT license.

example.html
<div class="container">
	<div class="row">
		<div class="col-md-6">
			<ui-component name="wysiwyg" path="myhtml" config="placeholder:Type something"></ui-component>
		</div>
	</div>
</div>