npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@atlaskit/editor-presets

v2.0.13

Published

Public editor presets for Atlassian Editor containing base configurations for Confluence and other products

Readme

@atlaskit/editor-presets

Public editor presets for Atlassian Editor containing base configurations for Confluence and other products.

Overview

This package provides standardized, open-source, and easily consumable presets for the Atlassian Editor. It enables rapid prototyping, experimentation, and integration in external environments such as Replit, Figma Make, and other designer and developer tools.

Available Presets

Confluence Full Page Base Preset

The confluenceFullPagePresetBase contains all public plugins and configurations used by the Confluence Full Page Editor.

import { confluenceFullPagePresetBase } from '@atlaskit/editor-presets';

const preset = confluenceFullPagePresetBase({
  intl,
  providers,
  enabledOptionalPlugins,
  pluginOptions,
});

Usage

Basic Setup

import React from 'react';
import { ComposableEditor } from '@atlaskit/editor-core/composable-editor';
import { confluenceFullPagePresetBase } from '@atlaskit/editor-presets';
import { useIntl } from 'react-intl';

function MyEditor() {
  const intl = useIntl();
  
  const preset = confluenceFullPagePresetBase({
    intl,
    providers: {
      // Provide necessary services
    },
    enabledOptionalPlugins: {
      // Configure optional features
    },
    pluginOptions: {
      // Plugin-specific options
    },
  });

  return <ComposableEditor preset={preset} />;
}

Extending the Preset

You can extend the base preset with additional plugins:

import { confluenceFullPagePresetBase } from '@atlaskit/editor-presets';
import { myCustomPlugin } from './my-custom-plugin';

const customPreset = confluenceFullPagePresetBase(options)
  .add([myCustomPlugin, myCustomPluginOptions]);

Plugin Options

Each plugin included in the preset can be configured through the pluginOptions object. Refer to individual plugin documentation for available options.

API

confluenceFullPagePresetBase(options: ConfluenceFullPageBasePresetOptions): EditorPresetBuilder

Creates a base Confluence Full Page Editor preset with all public plugins.

Parameters:

  • intl: IntlShape - React Intl instance for internationalization
  • providers: Providers - Required service providers
  • enabledOptionalPlugins: EnabledOptionalPlugins - Configuration for optional plugins
  • pluginOptions: AllPluginOptions - Plugin-specific configuration options

Returns: EditorPresetBuilder - A preset builder that can be extended with additional plugins

Architecture

The public preset contains only @atlaskit/editor-plugin-* packages. Private or product-specific plugins should be added in separate preset packages (e.g., editor-presets-confluence for Confluence-specific features).

Contributing

When adding new public plugins to this preset, ensure:

  1. The plugin is from @atlaskit/editor-plugin-* or similar public packages
  2. Plugin options are added to the pluginOptions type
  3. Plugin order is maintained (some plugins have dependencies)
  4. Tests are updated to reflect the new plugin

License

Apache License 2.0