Issue #2965Opened August 22, 2020by gunslingor0 reactions

FEAT: Plugin Names

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)

gunslingorAugust 24, 20200 reactions

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

artfAugust 28, 20200 reactions

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.