- Main
- Dashboard
- Page layouts
- Layouts
- Color system
- Starter kit
- Changelog 1.2.1
- LTR version
- Forms
- Form components
- Wizards
- Editors
- Pickers
- Form layouts
- Appearance
- Components
- Content appearance
- Extra components
- Animations
- Icons
- Layout
- Sidebars
- Vertical navigation
- Horizontal navigation
- Navbars
- Menu levels
- Data visualization
- Echarts library
- D3 library
- Dimple library
- C3 library
- Google visualization
- Maps integration
- Extensions
- Extensions
- JQuery UI
- File uploaders
- Event calendars
- Internationalization
- Tables
- Basic tables
- Data tables
- Data tables extensions
- Handsontable
- Responsive options
- Page kits
- Task manager
- Invoicing
- User pages
- Login & registration
- Timelines
- Support
- Search
- Gallery
- Error pages
The following example demonstrates WYSIHTML5 editor with simplified
toolbar. Since browsers use a default style sheet to style elements, so if you use b
, i
, ul
and li
, there is already some styling visible in the editor. Please note: The textarea will always hold the editor's generated markup. Therefore wysihtml5 integrates smoothly with forms.
WYSIHTML55 takes a textarea and transforms it into a rich text editor. The textarea acts as a fallback for unsupported browsers (eg. IE < 8). Make sure the textarea element has an id
, so we can later access it easily from javascript. The resulting rich text editor will much behave and look like the textarea since behavior (placeholder, autofocus, ...) and css styles will be copied over.
The following example demonstrates examples of some events available. To capture other events that occur within the Wysihtml editor’s iframe, make sure that the wysihtml iframe is fully loaded before registering events, otherwise results may vary across browsers. One way to ensure that the iframe is fully loaded is to define functions like the above as a callback on the editor’s load
function.