1. Home
  2. Docs
  3. Overview
  4. Form Fields
  5. EditorJs

EditorJs

EditorJS Field Settings Documentation


Required

  • Checkbox
  • Determines if this field is mandatory for post submission. If checked, the user must fill out this field before saving or publishing the post.

Label

  • Text Field
  • The display name of the field that will appear on the post editor interface.

Class

  • Text Field
  • Space-separated class names can be added here to apply custom CSS styles to this field.

Name

  • Auto-generated Text Field
  • This is the unique identifier (ID) for the field, which might be used internally or for referencing in the code. It is typically auto-generated and may not need to be changed manually.

Save To Post Content

  • Checkbox
  • If checked, the content from this EditorJS field will be saved directly to the post content upon publishing or saving the post.

Warning (Pro Version)

  • Checkbox
  • This feature is available in the pro version of the plugin and allows you to display warning messages in certain conditions.

Table (Pro Version)

  • Checkbox
  • Available in the pro version, this feature would allow you to add tables using the EditorJS.

Images Carousel (Gallery) (Pro Version)

  • Checkbox
  • Another feature available in the pro version for creating image carousels or galleries in posts.

WP Gallery (Using Only WP Media Uploader) (Pro Version)

  • Checkbox
  • This would enable the integration with the default WordPress media uploader, limiting the gallery to WordPress media.

Attaches (Block for Uploading Files) (Pro Version)

  • Checkbox
  • Available in the pro version, this option would allow the creation of file upload blocks where users can attach files.

Image

  • Checkbox
  • Enables the image block in EditorJS for inserting images into the content. This option allows users to upload or insert images into their posts.

Header

  • Checkbox
  • Enables the header block in EditorJS for inserting headings into the content.
  • Header Placeholder: A field where you can define default placeholder text for headers, guiding users on what to type.

Embed

  • Checkbox
  • Enables the embed block, allowing users to insert external content, such as YouTube videos or Tweets.

List

  • Checkbox
  • Enables list blocks in EditorJS to create ordered or unordered lists.

Checklist

  • Checkbox
  • Allows users to create interactive checklists, where each item can be checked or unchecked.

Quote

  • Checkbox
  • Enables the quote block in EditorJS to insert quotes into the content.
  • Quote Placeholder: This field allows you to add default text for the quote block, guiding users on what to enter.
  • Quote Caption Placeholder: Allows you to set a default placeholder for the quote’s author’s name or caption.

Marker

  • Checkbox
  • Adds a marker (or highlight) block in EditorJS, used for highlighting certain portions of text.

Code

  • Checkbox
  • Enables code blocks for displaying programming or other code snippets in posts.

Delimiter

  • Checkbox
  • Adds a delimiter block, which creates a visual break or separation between sections in the post.

Link Tool

  • Checkbox
  • Enables the link tool in EditorJS, allowing users to insert and manage links within the content.

How can we help?

Leave a Reply

Your email address will not be published. Required fields are marked *