Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 589 Bytes

content-management-system.md

File metadata and controls

24 lines (20 loc) · 589 Bytes

Content Management System

By default, AdminJS is equipped with a TipTap editor, which makes it a perfect tool for a Content Management System

AdminJS as a Content Management System

To add TipTap to the AdminJS setup you need to change the type of the property holding your content to the richtext.

const admin = new AdminJS({
    resources: [
      {
        resource: Posts,
        options: {
          properties: {
            postContent: {
              type: 'richtext',
            }
          }
        }
      }
    ]
  })