Class: Liquid::Simplero::Tags::RichTextEditor

Inherits:
Tag
  • Object
show all
Defined in:
app/models/liquid/simplero/tags/rich_text_editor.rb

Overview

Renders a rich text editor.

{% rich_text_editor name %}
{% rich_text_editor name always_blank %}
{% rich_text_editor name placeholder="value" %}
{% rich_text_editor name allow_attachments="false" %}

always_blank - always initialize as blank rather than reading from the current context for a value.

placeholder - value for HTML placeholder attribute. Can be Liquid code e.g. {{'foo'|translate}}

allow_attachments - allow/disallow attachemnts for comment, could be true(default) or false.

Direct Known Subclasses

RichOrPlainTextEditor