/editorjs

A simple R wrapper of the editorjs library: https://editorjs.io/

Primary LanguageJavaScript

editorjs

A simple R wrapper of the editorjs editor.

Editor.js is a Block-Styled editor. Blocks are structural units, of which the Entry is composed. For example, Paragraph, Heading, Image, Video, List are Blocks.

Plan:

  • shiny -> distill rmarkdown -> github actions deploy site

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("zac-garland/editorjs")

New Editor

library(editorjs)

editjs()

TODO

  • write_distill_article
  • parse_json
  • reclass id’s for multiple instances
  • shiny app to rmd
  • resize event htmlwidgets
  • add tags distill module
  • lightswitch dark / light theme

preview