Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Not able to use WYSIWYG editor

maheshbasapur free asked 3 years ago


Expected behavior WYSIWYG editor should appear in the page

Actual behavior Editor is not appearing and seeing following error in the console

ReferenceError: Can't find variable: WYSIWYG

Resources (screenshots, code snippets etc.)

I am using

"MDB5-Standard-UI-KIT-Pro-Essential-3.9.0"

included:

<link rel="stylesheet" href="/css/mdb/mdb.min.css" />

Html:

<div class="wysiwyg" data-mdb-wysiwyg="wysiwyg"></div>

JS:

const wysiwygElement = document.getElementsByClassName('wysiwyg')[0];

const wysiwygInstance = WYSIWYG.getInstance(wysiwygElement);


Michał Duszak staff answered 3 years ago


You didn't load the wysiwyg plugin, and mdb.min.js file. Here's an instruction on how to load plugins: https://mdbootstrap.com/docs/standard/pro/plugins-installation/. Also, dont forget to load mdb.min.js script into your project.


maheshbasapur free commented 3 years ago

Hi Included

Everything else works fine. Only WYSIWYG editor is not appearing and getting error "ReferenceError: Can't find variable: WYSIWYG"


maheshbasapur free commented 3 years ago

Also, in following zip file I am downloading, there is no plugins folder "MDB5-Standard-UI-KIT-Pro-Essential-3.9.0"


Michał Duszak staff commented 3 years ago

Did you buy WYSIWYG plugin? As far as I know, Pro Essential doesn't contain plugins.


maheshbasapur free commented 3 years ago

I didn't buy anything extra.

Is every plugin being sold as add on? where do I see the price of components to buy?


Adam Jakubowski staff commented 3 years ago

Hello @maheshbasapur,

The support forum is dedicated to technical questions.

All questions regarding MDB licensing, products, partnerships and other non-technical queries - it should be asked directly to contact@mdbootstrap.com

I've reached out to you via email address assigned to your mdbootstrap account.

Keep coding,

Adam From MDB


maheshbasapur free commented 3 years ago

Hi Adam

It is a technical question end up as licensing one.

I wouldn't have posted a licensing question here for sure.

I want you guys to please pass my feedback to your team. "Once I am logged in as a licensed user, things that are not in my license should be separated out so that I don't struggle and come back to you"

Thanks


Adam Jakubowski staff commented 3 years ago

Hello @maheshbasapur,

I've reached out to you via email address assigned to your mdbootstrap account.

Keep coding,

Adam From MDB


FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Closed

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB Standard
  • MDB Version: MDB5 3.9.0
  • Device: Mackbook
  • Browser: Safari
  • OS: Mac
  • Provided sample code: No
  • Provided link: No
Tags