Adding styles to TinyMCE hyperlink dialog style dropdown

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
1/14/2010 10:38:28 AM
Gravatar
Total Posts 190

Adding styles to TinyMCE hyperlink dialog style dropdown

Hi All,

Seems like I've seen this topic before but I can't find anything on it. I was just wondering if it is possible to add styles to the style dropdown in the TinyMCE hyperlink dialog. It seems like there must be.

Thanks,

John

1/15/2010 9:44:46 AM
Gravatar
Total Posts 190

Re: Adding styles to TinyMCE hyperlink dialog style dropdown

Does anyone know this answer or is this just a really dumb question? Perhaps a slightly broader question: are there other methods through the mojo interface, like the style templates in the admin, to affect changes in the style dropdown lists in the hyperlink and other dialogs in the TinyMCE editor. And beyond that, are there config files in the project that can be modified to make additions and changes to those lists.

Thanks again

1/15/2010 9:47:10 AM
Gravatar
Total Posts 18439

Re: Adding styles to TinyMCE hyperlink dialog style dropdown

I looked into this yesterday, There is a way to implement it but it is not implemented. What you can do right now is after you create the link apply style from the style drop down list which includes styles defined in the Content Styles, you just can't currently do it from the link dialog itself.

Best,

Joe

1/15/2010 10:04:42 AM
Gravatar
Total Posts 190

Re: Adding styles to TinyMCE hyperlink dialog style dropdown

Thanks Joe. Yes, that is the method we're currently using and it works well enough. I thought I remembered there being some discussion about this awhile ago, but I couldn't find anything on it. I'm guessing the code could be changed but that would be one those things you'd have to go back and replace again every time you update your source code from SVN. This is good, though. I just wanted make sure I wasn't missing something here.

6/1/2010 6:42:01 PM
Gravatar
Total Posts 63
Jerry McCreary
SureFire Studios, Inc.

Re: Adding styles to TinyMCE hyperlink dialog style dropdown

A temporary solution to try:

Edit the link.htm file in the folder tiny_mce327/themes/advanced/
Add an option to the select tag (id of select is class_list).

You must sign in to post in the forums. This thread is closed to new posts.