Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zendeskgarden/ckeditor

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zendeskgarden/ckeditor

Garden editor implementation for CKEditor5

  • 1.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Garden RTE Resources npm version Build Status Dependency Status

:seedling: Garden is the design system by Zendesk

This package provides Garden theme customizations for the @ckeditor/ckeditor5-theme-lark package.

Installation

npm install --save-dev @zendeskgarden/ckeditor

Usage

When building editors from source, ensure that any webpack configurations also include the Garden package.

{
  test: [/ckeditor5-[^/\\]+[/\\]theme[/\\].+\.css$/, /zendeskgarden[\/\\]ckeditor[\/\\].+[\/\\]theme[\/\\].+\.css$/],
  use: [
      {
        loader: 'style-loader'
      },
      {
        loader: 'postcss-loader',
        options: styles.getPostCssConfig( {
            themeImporter: {
                themePath: require.resolve('@ckeditor/ckeditor5-theme-lark')
            }
        })
      },
  ]
}

Then include the theme overrides in your application.

import '@zendeskgarden/ckeditor';

Dark mode

Apply the data-ck-color-scheme="dark" attribute to an element (i.e. <body>) that wraps all of CKEditor's rendered components. This includes the editor itself, the toolbar, and the .ck-body-wrapper that contains floating elements (tooltips, modals, etc.).

Contribution

Thanks for your interest in Garden! Community involvement helps make our design system fresh and tasty for everyone.

Got issues with what you find here? Please feel free to create an issue.

Community behavior is benevolently ruled by a code of conduct. Please participate accordingly.

License

Copyright 2024 Zendesk

Licensed under the Apache License, Version 2.0

Some of the code included in this Zendesk repo may depend upon software authored and provided by CKSource Frederico Knabben. The terms and conditions of the Apache license do not extend to software provided by CKSource, which may be provided under different licenses. Please see the CKEditor Software License Agreement for additional information.

Keywords

FAQs

Package last updated on 07 Nov 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc