parse-page

0.1.1 • Public • Published

Convert HTML To Elevate Editor Content

💾 Install

yarn add html-to-elevate-editor

🔨 Usage

Convert HTML To JSON Structure

const { LoadStructure } = require('html-to-elevate-editor');

const structure = await LoadStructure({
  url,
  target: ".rl-custompage",
  customJsCommands: [
    '$("#rls1a > div.modal-backdrop.fade.in, .rl-apology").remove()',
    '$("body").removeClass("modal-open")'
  ]
});

Structure TO Editor Config

const { Convert } = require('html-to-elevate-editor');

const editorConfig = Convert(structure);

Readme

Keywords

none

Package Sidebar

Install

npm i parse-page

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

180 kB

Total Files

16

Last publish

Collaborators

  • elmsttim