codex-team / codex-team/editor.js

editor.js options from json

Open
#1,045 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
31.9k
Forks
2.2k
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Hello, i have editor configuration in array in php (structure fits editor.js config) and json encoding it to process that, but for some reason i get
`Uncaught TypeError: Cannot read property 'holder' of undefined`
`Uncaught TypeError: Cannot read property 'config' of undefined`

sample of json i have
`{"holder":"w1","tools":{"header":{"class":"Header","inlineToolbar":["link"],"config":{"placeholder":"Header"},"shortcut":"CMD+SHIFT+H"},"image":{"class":"ImageTool",.....`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.