Hot answers tagged

9

Let's say you want "Roboto" and "Open Sans" to be available for your authors in JCE font-family drop down. First : Find your fonts in google fonts and add to your editor CSS stylesheet the @import you get from them. For this example, it looks like this : @import url(http://fonts.googleapis.com/css?family=Roboto|Open+Sans); Second : To remove/add fonts in ...


8

Please try following: Check that the Editor Profile Parameters allow IFrames In the JCE Control Panel, click on the Editor Profiles button. Click on the Profile name that the user, usergroup or component is assigned to, eg: 'Default' Click on the Plugin Parameters tab, then on the Media Support tab. Check that the Allow IFrames is set to Yes. Configure ...


7

I use JCE Editor on all our sites, but we have started also installing Sourcerer by NoNumbers. This gives an easy INSERT CODE button to the JCE editor that protects it from being modified. http://www.nonumber.nl/extensions/sourcerer


6

You can use the following Javascript which will bring up a alert box asking if you want to leave the page or stay on it when you go to close a browser tab. <script> window.onbeforeunload = function() { return 'Make sure you have saved your JCE content'; } </script> If you're wondering where to add your code, you can either: Add ...


5

The article starts with the text: Throwback Threat Thursday is a series of posts where we recall older vulnerabilities that have since been patched by their developers. In the past, these vulnerabilities caused significant impacts to the security of website owners. Some vulnerable sites may be still be found in wild. Yes, there was a major security issue ...


5

You can insert a BR tag in JCE, by pressing: [SHIFT] + [ENTER]. This will create a <br /> element at the current cursor's position, inside the current container element and will move cursor to the next line. Also remember, in JCE there is always the Source Code Editor view, where you can type/edit directly your html.


4

Open developer tools on your browser (F12 on Chrome) and see if there are any 404 errors. Usually JCE loads buttons from one sprite located under. /components/com_jce/editor/tiny_mce/themes/advanced/img/icons.png The other possibility is some other style sheet on your site is overriding the buttons css. In your browser developer tools debug css of styles ...


4

Since you're using XAMPP, I assume you're developing the site on your local computer. There's no reason to compress CSS/Javascript (or use Gzip) on a local development site. It makes no noticeable difference, and debugging get's a lot harder. Leave compression disabled until your site is ready, then try activating the settings on your online server and see ...


3

@Lodder and others were right that the answer was to keep site up to date and be patient. The error was corrected in JCE 2.5.15.


3

Guys after messing around with the ACL in all other places, and checking for any kind of possible other issues for some hours, finally I managed to sort this out. The issue was caused by the ACL settings on the JCE Editor plugin, which is being called when it comes to load the editor. It had access level to Administrator, so any front-end users were unable ...


2

There are some secret settings for JCE. I know the following setting stops &nbsp; being added to empty divs, maybe used to clear floats, which causes line-height issues when rendered: In the Editor Global Configuration, add: remove_div_padding:1 to Custom Configuration Variables. I would expect there are more that can control any aspect of the editor....


2

As you are enabling compression of JavaScript and CSS files with Gzip. You need to make sure you have installed Apache module mod_deflate and the module is enabled. You can check this in phpinfo(); As enable of Gzip compression will add <IfModule mod_deflate.c> line to your .htaccess file. SO the module should be enabled to be used by Apache. You can ...


2

I understand what you're trying to accomplish, but I don't think you'll find a WYSIWYG that will let you copy text, then re-paste it with the html intact and be confident it will not break. All it takes is for your user to paste the text with their cursor in the wrong spot by one character, and the whole thing goes to pot. Even using a templater, like ...


2

OMG! The JCE Editor was just being annoyingly clever! The table in question has a particular class applied to it. This class is copied across no problem, however, in my editor.css this class is defined as having width:100%. When pasting the table with this class already applied, it seems it was calculating the width as 100% the width of the editor viewport (...


2

You need to do the settings in either TinyMCE or JCE based upon which one you are using (set in Global Configuration or overrided in your user account). In JCE, the setting is in Editor Profiles->Default->Typography-> Container Element & Enter Key:


2

One way to find out if the iframe gets deleted by the editor is to disable JCE, and select no editor, then try to save your article with the iframe code pasted in the article body. To select no editor, go to: Global Configuration -> Site -> Editor = set to none Start a new article (so you don't have to care if you mess with any existing published ...


1

By default, JCE strips non standard code when saving the article. The Joomla text filters may also block certain code but these can be disabled (e.g. for Super Administrators) at System -> Global Configuration -> Text Filters. You can use a third party extension like the free or paid version of Regular Labs Sourcerer or similar to insert PHP and other code ...


1

Well, besides the point that you should ASAP update your Joomla to 3.6.4 (check the official Anouncement Joomla! 3.6.4 Released and also search JSE for 3.6.4), from the link you provided it seems that Default Menu Item (Homepage) for Greek language DOES NOT have the same module like other two languages (EN and BG) have. They both have following DIV <div ...


1

EUREKA !!!! the solution: When Joomla is installed it has SEF-URL (search engine friendly - URL) enabled. And don't ask me why but that caused the JCE not to function in the redirected sites. So disabling "search engine friendly" URL in Global Configuration restored JCE's Function. Thanks to the "Hyde-design" page that put me on the right track. References: ...


1

I don't know what is wrong with your Joomla! to prevent the normal solutions from working, but you can just circumvent the issue by installing Sourcerer. It usually works and makes adding html to articles in wysiwg mode simple. The link is to the part of tutorial where this is explained so you can directly see if it is simple enough for you. The free version ...


1

I know this is an old thread but some of are still having this issue. I found that it works if I do NOT use a secure connection, ie, "https" but just http. I manage 2 sites on the same hosting site and there is no problem on one of them using either https or http so I must have a setting somewhere preventing the icons from showing in a secure connection. ...


1

Which editor will be used can be controlled by each user. So it's possible that inside your user settings you have selected the JCE editor as your editor's choice. Generally, you can go into the Plugin manager -> Editors and disable the JCE editor plugin, which will make it unavailable across the Joomla site. However, JCE provides plenty of customizable ...


1

What you think about free Joomla attachment comp ? http://extensions.joomla.org/extension/attachments I have used it before and its very good.


1

According to my experience tinymce variable. has the access to any editor, and you can access the content with tinymce.activeEditor.getContent(). NOTE: There is only one special case with Zoo, where the previous sentence returns empty, and you have to call tinymce.editors[0].getContent() instead.


1

JCE Editor When you are editing the article, click on Toggle Editor once and add the code including <canvas id="canvas"></canvas>. Then do NOT click on Toggle Editor again; just click on Save button. The article will be saved without stripping the canvas tag. The result should be: Note: As user @johanpw mentioned, the code may be cleaned up ...


1

I often use a free module called Custom HTML Advanced when I need to add custom code to Joomla. This module is similar to the built-in Custom HTML module, but with a couple of improvements: No filtering (even for script tags); Override module position chrome to remove unwanted wrapping HTML code around the module; Add custom CSS code into HTML ...


1

Rather than trying to add your Javascript in the article which may not parse correctly, I would suggest using a 3rd party plugin to add it such as Sourcerer. Once installed, you can add the following into your article: {source} <script> var canvas = document.getElementById("canvas"); alert("ALERT1"); var ctx = canvas....


1

I think it must be the typography settings in: Profile -> Editor Parameters -> Typography. Try to set the Container Element & Enter Key to NoContainer & LineBreak on Enter to see if it still applies any changes to your html. Also remember that HTML Validation setting has setting for each Editor profile and that Joomla also provides a global filter ...


Only top voted, non community-wiki answers of a minimum length are eligible