jQuery TinyMCE advimage Missing - jquery-plugins

advimage is missing from the jQuery package for TinyMCE 4. I tried to use the one from an older version but that didn't work. Where can I get the plugin that will work with TinyMCE 4?

You cannot. These plugins were for 3.x series of TinyMCE, in 4x series the below mentioned plugins have been removed.
advhr, advimage, advlink, iespell, inlinepopups, style, emotions and xhtmlxtras
See this for complete details: http://www.tinymce.com/wiki.php/Tutorial:Migration_guide_from_3.x

Related

ckeditor source view formatting lost?

I've just upgraded from CKEditor 4.4.4 to CKEditor 4.5.2 and it seems that the source code formatting is lost. This is also the case with all demos on the official case eg. main demo page.
It used to look like this (nice formatting, coloring):
And now it looks like this:
Does anybody know if I need a plugin or if it's a bug?
CKEditor has never provided syntax coloring in source mode.
Previously you have used some third party plugin, so you must add it again.

Joomla TinyMCE deletes empty span

I want to use following tag
<h4><span class="icon-phone"></span></h4>
but TinyMCE from Joomla always deletes it, when i save it.
I find the solution that i have to add span[*] to "Extended Valid Elements" in Options from TinyMCE in PluginManager. but it doesn't work. It always delete it again and again. I searched here for a while and found some articles which was similar to my problem but doesn't solve it.
I use Joomla Version 3.3.6 and the plugin is 4.1.2.
Hope somebody can help.
Best Regards,
Dennis
Welcome to TinyMCE, my most hated editor ever.
I've had the same problem multiple times and I believe it's because the editor expects content within the element. So try the following:
<h4><span class="icon-phone"> </span></h4>
is simply a non breaking space
go to: Joomla! administration - Extensions - Plugins - edit Editor - TinyMCE
Set the following parameter:
Extended Valid Elements: span[class|style]
This works for me in Joomla! 3.5 (plugin version 4.3.3)

What buttons have changed labels from fckeditor to ckeditor 4?

It appears that some of the button names have been changed in ckeditor version 4.
Is there a complete list of these changes?
There is a partial list here.
I'm pretty sure that names haven't been changed. If something is not working check if plugin you need is included in your build (most likely it is a standard preset) and if not:
download a full preset (which in fact does not include all plugins too, but most of them) or
add required plugins to your custom CKEditor build.
[EDIT] another useful resource is the toolbar sample shipped with CKEditor package. E.g. here's one for a standard package.

Liferay ckeditor upgrade

I'm working with Liferay version 6.1.20 but sadly in this version the ckeditor 4.0 isn't implemented yet.
Is there a way to manualy upgrade CKEditor? or is it a job that i shouldn't start because it's to much work?
I would like to manualy update the CKEditor because the plugin that i'm hooking on isn't compatible with older versions of CKEditor.
I have been looking around on the web. But there isn't any information present as far as i know. I would be nice to know if it's word trying?
Ckeditor 4.0 is included in the trunk (6.2 M4) (this can be seen in the post from Juan Fernández in the liferay forum. Don't know if it will be part of 6.1 GA3 due shortly. I'm not sure how complex it is to upgrade CKEditor. You may want to see the github pull request mentioned in Juan's post.
It looks like that Replacing the ckeditor.js file and adding all the new required files is the first step of replacing the ckeditor. Besides that it's important to change the CKeconfig.jsp and remove all the old configurations. Toolbar settings can be made. These don't seem to cause any problems.
If your working with the .on method please notice that the contentDom event is fired 2 times. Once on loaded and once when the editor is ready. I checked editor.status === "ready" to prevent this. Because it is attaching the listeners when it's not ready.. Because of this the won't work.
=== Edit ===
Still having problems. But now with the save as draft action. It's saving the data but without the Html changes i have made.. I'm making span's with special attributes. but the editor won't save them..
== Edit 2 ==
The problem was a missing CKEDITOR config tag. config.allowedContent = true; (See edit for the problem)

help fix iCheckbox to work with jQuery 1.6 (works with 1.4.4)

I need help getting a jQuery plugin (iCheckbox) to work with jQuery 1.6
I set up an example here:
http://jsfiddle.net/mikkelbreum/HAGMp/
If you load jQuery 1.5.2 instead of 1.4.4 the sliding animation stops working. But the change event still fires and changes the output txt.
If you load jQuery 1.6 The animation is still broken, and the change event also stops firing (or the output txt is not changed at least.
got it.
There were two problems with the code one making it incompatible with jQuery 1.5 and 1.6 and one making it incompatible with jQuery 1.6.
The first problem was the use of the
backgroundPosition property
in the animate calls, they needed to be changed into the
backgroundPositionX property
for jQuery 1.5 and 1.6
The second problem was the check for whether the checkbox is checked or not.
In jQuery 1.4 and 1.5 this could be done with
if ( $(this).attr('checked') == true )
but in jQuery 1.6 this does not work, it need to be changed into
if ( $(this).is(':checked') )
The code found here works for jQuery 1.6: http://jsfiddle.net/mikkelbreum/HAGMp/

Resources