Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: id or className must be provided. #91

Open
rafaelcapucho opened this issue Sep 23, 2019 · 12 comments
Open

Error: id or className must be provided. #91

rafaelcapucho opened this issue Sep 23, 2019 · 12 comments

Comments

@rafaelcapucho
Copy link

Hi, I'm trying to run the compiled version but it is failing,

image

Thank you.

@iamjack8888
Copy link

I also had a similar error when using with Vue.
I guess due to their muti instance function,
Do not know he has overcome it yet?

@iamjack8888
Copy link

When initializing the component for the first time, it succeeds. but if I clicked to another menu and came back, I got an error like this.
I had to press f5 for it to work

image

@diegocabrito
Copy link

i have same problem, i can't find solutions for that

image

@diegocabrito
Copy link

Anyone?

@iamjack8888
Copy link

I am still having problems with it and haven't found an alternative

@iamjack8888
Copy link

iamjack8888 commented May 6, 2020

Hi guy .
Try adding a div tag around it

image

@diegocabrito
Copy link

I try, same problem. My head pain.

@jatin77
Copy link

jatin77 commented May 10, 2020

has anyone find a fix yet?

@jatin77
Copy link

jatin77 commented May 10, 2020

So the deal is you just have to giv an id to the wrapper div around
And make sure this code in node-modules gets the same id--> _this.editor = unlayer.createEditor(_extends({}, options, {
id:"email-container",
displayMode: 'email',
source: {
name: pkg.name,
version: pkg.version
}
}));

@joshirj21
Copy link

change library version to 0.8.2 in your package.json

@diegocabrito
Copy link

change library version to 0.8.2 in your package.json

I'm testing with version 1.0.0. Finding bugs, but for now it's function.

@carbler
Copy link

carbler commented Jun 22, 2021

Bro, vuelve a la versión 0.7.1 funciona bien

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants