Take the community feedback survey now.

TinyMCE Plugin Issue

Vote:
 

CMS 12

I'm looking to add functionality to an existing plugin we use in TinyMCE.  We have a button plugin that contains an option to create a telephone number.  Currently, that field only validates US based numbers.  We are looking to expand that to International numbers as well.

   

I had found this existing library that I was trying to bring into the project.  https://github.com/jackocnr/intl-tel-input

I installed the package in NPM and also copied the folders into our ClientResources/scripts folder as well.  I can see the JS and CSS files being added in the page, but cannot seem to get the JS to load properly.

I added entries in the module.config for the JS and CSS:

Here is the line that the code is failing on (line 23):

I'm not sure if I need to add another module to load in the dojo require statement or if I'm missing something else.  

Any help is appreciated.

Thanks,
Dave

#341201
Dec 02, 2025 22:16
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.