News for hackers. Stuff that matters.

neSpecc

Show HN: CodeX Docs – a free docs app powered by the Editor.js ecosystem

https://docs-demo.codex.so/about-this-demo

A lightweight self-hosted alternative to Notion, Paper and Google Docs for:- product docs- internal team docs- personal notesHere are advantages:1. Simple installation and delivery. No DB or other infra required.2. Advanced writing experience based on Editor.js — popular open source WYSIWYG (20k stars)3. Project includes the best tools of Editor.js Ecosystem. There are many editor Blocks,...

( Read More... | no comments | 4 points | on HN )
Currently does not. But we really want and need this feature. It can be created in near future.
Re:Editor.js – Block Styled Editor on Wednesday April 03, 2019 @05:01AM (#19561871)
Hi from CodeX.

Currently we does not have ready to use implementation for converting JSON into HTML after saving. It is a trivial and specific task, that depends on plugins you use.

CodeX Editor is the previous "working" name of early version of Editor.js. We have decide to change name on beta-testing stage.

Re:Editor.js – Block Styled Editor on Tuesday April 02, 2019 @04:34PM (#19558289)
Capture this. PRs is already on review.

Thanks.

Re:Editor.js – Block Styled Editor on Tuesday April 02, 2019 @04:11PM (#19558091)
Thanks for a feedback and links.

We have done a lot of work on core stabilisation and API improvement. First version of editor.js is used for a while by local big (well, relatively) media projects — vc.ru, dtf.ru, tjournal.ru with the 200-500k DAU. This projects have UGC communities, so the Editor is using many times in a day. I mean most of our resources on the past stage was directed to the stability purposes.

Fully agree with you about the importance of UI and UX (and mobile adaptation) in our case. This is a next step we have start today. And this is a reason why it is an open source and free. We see many talented developers and the demand, so we will continue to work.

Thank you!
Re:Editor.js – Block Styled Editor on Tuesday April 02, 2019 @03:45PM (#19557871)
Heard you, thanks. Will work on this.
Hi!

We have been working on this project more than three years. Several large media projects help us to test and debug the Editor, to make its core more stable. At the same time we significantly improved the API.

Editor.js key features:

- Block-styled

- Clean data output

- API pluggable

- Open source

What does it mean «block-styled»

In other editors the workspace is provided by single contenteditable element in where you can create different HTML markup.

Editor.js workspace consists of separate Blocks: paragraphs, headings, images, lists, quotes, etc. Each of them is an independent contenteditable element (or more complex structure) provided by Plugin and united by Editor's Core.

At the same time, most useful features as arrow-navigation, copy & paste, cross block selection and others works almost as in the familiar editors.

About clean data

As you can see on the last screen, there are clean JSON output: list of structural Blocks with their content description.

You can use this data to easy render in Web, native mobile/desktop application, pass to Audio Readers, create templates for Facebook Instant Articles, AMP, RSS, create chat-bots and many other.

Also, clean data can be useful for backend processing: sanitizing, validation, injecting an advertising or other stuff, extracting Headings, make covers for social networks from Image Blocks and other.

About API

A key value of the Editor is the API. All main functional units of the Editor.js — Blocks, Inline Formatting Tools, Block Tunes — are provided by external plugins that uses simple and powerful API.

Editor.js is more than just an editor. It is a new born open-source community of developers and contributors.

Anyone can create new cool API features and plugins. Thanks for your interest.

Hope you enjoy Editor.js.

Peter Savchenko, CodeX