Issue #2965πŸ’¬ AnsweredOpened August 22, 2020by gunslingor0 reactions

Plugin Names

Quick answerby gunslingor

I did find a solution this["grapesjs-lory-slider"], still recommended addition.

Read full answer below ↓

Question

Request that I be allowed to refer to plugins by two conventions: "grapesjs-lory-slider" and "grapesjsLorySlider".

I'm using a Kotlin JS DSL and it can't handle the dashes; also typically dashes are reserved for css class names and should be minimized in JS... though I suspect there is a class by that name, it should probably be decoupled from the JS object names to avoid confusion and help prevent unknown issues.

Answers (2)

gunslingorβ€’ August 24, 2020

I did find a solution this["grapesjs-lory-slider"], still recommended addition.

artfβ€’ August 28, 2020

Honestly, I don't see any advantage in having 2 conventions. The name with dashes is generated by Webpack UMD bundler (eg. using grapesjs-cli) which is taken from the package.json name. If we'll get more requests from the community and a proposed solution, I might reopen it.

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.