GetmeUK / ContentTools

A JS library for building WYSIWYG editors for HTML content.
http://getcontenttools.com
MIT License
3.95k stars 393 forks source link

What would be the best way to extend CT? #490

Open omarmd1986 opened 6 years ago

omarmd1986 commented 6 years ago

@anthonyjb My question is: I need to create several new tools: font color, font, countdown, background color, etc. But I do not want to have to develop them in the same library. I would like to create my separate project and in the dependencies have a CT and, other libraries I need for the color selector, countdown, etc.

What would be the best way to do it?

anthonyjb commented 6 years ago

Hi @omarmd1986,

I recently shared a font selector extension I wrote for ContentTools (for another client) on my blog https://anthonyblackshaw.me/2018-01-22/font-family-selector.

We use ContentTools as a dependency in a number of internal and external projects (in particular our in-house CMS), we're using webpack as a build tool but we previously used grunt.