Editor slack transformer

Typescript ❤️

Editor Slack transformer

Install
yarn add @atlaskit/editor-slack-transformer
Source
Bundle
Changelog
Latest

4.0.0

Major Changes

  • #117363 10a0f7f6c2027 - This package's peerDependencies have been adjusted for react and/or react-dom to reflect the status of only supporting React 18 going forward. No explicit breaking change to React support has been made in this release, but this is to signify going forward, breaking changes for React 16 or React 17 may come via non-major semver releases.

    Please refer this community post for more details: https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026


Note: This component is designed for internal Atlassian development.

External contributors will be able to use this component but will not be able to submit issues.

This transformer allows encoding ProseMirror Node to Slack markdown.

Usage

Use the encoder with editor-slack-transformer as follows:

import { SlackTransformer } from '@atlaskit/editor-slack-transformer'; const serializer = new SlackTransformer(); // To encode editor content as Slack markdown serializer.encode(editorContent);

ADF to Slack markdown

️️️Slack Editor
Markdown output: