1.0.6 • Published 11 months ago

editorjs-telegram-post v1.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

Telegram post

Version of EditorJS that the plugin is compatible with

Provides Telegram post widget for the Editor.js.

Installation

Install via NPM

Get the package

npm i --save editorjs-telegram-post

Include module at your application

import TelegramPost from 'editorjs-telegram-post';

Usage

Add a new Tool to the tools property of the Editor.js initial config.

var editor = EditorJS({
  ...

  tools: {
    ...
    telegramPost: TelegramPost,
  },

  ...
});

Output data

FieldTypeDescription
channelNamestringtelegram channel name
messageIdnumbermessage id of post in telegram channel
{
  "type": "telegramPost",
  "data": {
    "channelName": "telegram",
    "messageId": 236
  }
}
1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago