Kademi / keditor

KEditor is a jQuery plugin which provides a content editor with drag n drop, configurable contents
http://kademi.github.io/keditor/
MIT License
318 stars 154 forks source link

Custom component not working as intended after creation following guide #239

Open jeremyteh opened 4 years ago

jeremyteh commented 4 years ago

I am unable to successfully display the content after creating a new component following the guide within this project. I would like to seek help on how to go about successfully creating a new custom component.

The following is some of the steps I have taken to create a new custom component, however I have not been successful in rendering the content in the custom component:

  1. Added Code snippet into snippets.html

image

  1. Creating a component handler file

image

  1. Adding component handler file into index.js

image

  1. New Component X is present within the snippets list

image

  1. Once drag out, nothing is displayed

image

ducdhm commented 3 years ago

@jeremyteh How about "getContent" of your new component? I need to see it to know the issue.