Socket
Socket
Sign inDemoInstall

@tinacms/core

Package Overview
Dependencies
0
Maintainers
11
Versions
101
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @tinacms/core

The `@tinacms/core` package provides the core objects for building amazing content management systems.


Version published
Weekly downloads
708
decreased by-0.28%
Maintainers
11
Install size
56.1 kB
Created
Weekly downloads
 

Changelog

Source

0.43.0 (2021-07-12)

Bug Fixes

  • react-tinacms-editor: fixing FocusRingOptions import path (7096add)
  • react-tinacmseditor: fixing FocusRingOptions import path (6c231e3)

Features

  • react-tinacms-inline: InlineBlocks children (00d5804)
  • tinacms: customize list error message by throwing a MediaListError (5aff1da)

Readme

Source

@tinacms/core

The @tinacms/core package provides the core objects for building amazing content management systems.

Installation

Install the package

npm install --save @tinacms/core

or

yarn add @tinacms/core

F.A.Q.

Below are the answer to a couple common questions.

If you have any other questions, go to the TinaCMS Community page to join our Slack or open an issue on Github! Every question you ask helps us make working with TinaCMS even better :)

What does the CMS do?

The responsibility of the CMS keeps track of two broad types of objects:

  • Plugins, which extend or change the behaviour of the CMS.
  • APIs, which allow the CMS to integrate with third party services.

What? That doesn't seem like a CMS

The name CMS is a bit misleading. This object knows nothing of the user interface or the data storage layer. The purpose of a CMS instance is to provide a common connection point for the various aspects of a content management system. The CMS object effectively a vehicle for dependency injection.

Examples

Creating a CMS

import { CMS } from '@tinacms/core'

let cms = new CMS()

Registering APIs

import github from 'my-github-client'

cms.registerApi('github', github)

cms.api.github

Adding Plugins

import github from 'my-github-client'

cms.plugins.add({
  __type: 'some-plugin',
  some: 'value',
})

cms.plugins.all('some-plugin') // [{ __type: 'some-plugin', some: 'value' }]

Keywords

FAQs

Last updated on 12 Jul 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc