CKeditor with ISC

Modules, Add-ons and custom code that's more than just a quick hack or Mod.
medicom
Posts: 7
Joined: Sat Sep 04, 2010 10:18 am

CKeditor with ISC

Post by medicom »

At last we succeed to change the boarding TinyMCE with CKeditor /image manager included/ as default WYSIWYG editor in ISC. There are simply two steps:
1. Download attachments and extract the content in the root of your ISC site:
2. Find the file your-site/admin/templates/Snippets/EditorTinyMCECommon.html and replace all contents with:

<script type="text/javascript" src="%%GLOBAL_AppPath%%/ckeditor/ckeditor.js"></script>
<textarea name="%%GLOBAL_WysiwygId%%" id="%%GLOBAL_WysiwygId%%" style="padding: 0; width: %%GLOBAL_WysiwygWidth%%; height: %%GLOBAL_WysiwygHeight%%;">%%GLOBAL_WysiwygValue%%</textarea>
<script type="text/javascript">
CKEDITOR.replace( "%%GLOBAL_WysiwygId%%" );
</script>

Save the file and you are welcome!

http://hotfile.com/dl/67869630/f2121cc/ ... r.rar.html
Martin
Site Admin
Site Admin
Posts: 1854
Joined: Wed Jun 17, 2009 6:30 pm
Location: South Yorkshire UK
Contact:

Re: CKeditor with ISC

Post by Martin »

Not tried it but that looks to be pretty darned useful...

Wonder if I can switch that in, in place of TinyMCE on the Knowledge Manager as well... :)

Thanks for contributing that... :ugeek:
CharlieFoxtrot
Confirmed
Confirmed
Posts: 413
Joined: Sun Aug 09, 2009 1:23 pm

Re: CKeditor with ISC

Post by CharlieFoxtrot »

YAY!! I'm looking forward to giving this a go this afternoon.

Thanks!

edit: Well... maybe not. It appears that this may not work with ISC 4.07.
ISC 4.0.7

"... and let's be honest that whole "by design" thing is getting old too."
medicom
Posts: 7
Joined: Sat Sep 04, 2010 10:18 am

Re: CKeditor with ISC

Post by medicom »

tested with ISC 5.54

I never used Knowledge Manager but i could try to do it
medicom
Posts: 7
Joined: Sat Sep 04, 2010 10:18 am

Some screenshots

Post by medicom »

Here are some screenshots:
Attachments
Embed Media plugin
Embed Media plugin
CKEditor.jpg
medicom
Posts: 7
Joined: Sat Sep 04, 2010 10:18 am

more screenshots

Post by medicom »

more.... :)
Attachments
Image Manager plugin
Image Manager plugin
Code Highlighter
Code Highlighter
OldGlory
Posts: 3
Joined: Wed May 25, 2011 9:14 pm
Location: Czech Republic

Re: CKeditor with ISC

Post by OldGlory »

I tried it but its not work :-(

don't you make mistake somewhere

When I upload ckeditor and change EditorTinyMCECommon.html in admin/templates/snippets/

I also tried to change EditorTinyMCE.html with same script, but nothing happened....

Can you please check it ? I also have same version ISC 5.5.4

Thanks

Reason why I want to change editor is that tinymce is that this editor insert some unwanted script a divs. So when I copy some text with unwanted script, It will totally break the pruduct page

http://www.noys.cz/beta/produkty/luxusn ... 1%21-.html

See right panel and compate it with another products. Its crazy :-(
OldGlory
Posts: 3
Joined: Wed May 25, 2011 9:14 pm
Location: Czech Republic

Re: CKeditor with ISC

Post by OldGlory »

This is a html code (by tinymce in product edit)

<p><span style="font-size: large;">Luxusn&iacute; boty korea style za 1499 kč !!!</span></p>
<p>&nbsp;</p>
<p><span style="font-size: large;"><br /></span></p>
<p><img src="http://filehost.cz/images/stmLn.png" alt="" width="602" height="503" /></p>
<p>&nbsp;</p>
<p><span style="font-size: large;">Nab&iacute;z&iacute;me na prodej exkluzivně luxusn&iacute; b&iacute;l&eacute; tenisky ve velikosti&nbsp;od 39.5 - 42.5 EUR</span></p>
<p><span style="font-size: large;">&nbsp;</span></p>
<p><span style="font-size: large;">Kr&aacute;sn&yacute; design, pohodln&yacute; a kvalitn&iacute; materi&aacute;l</span></p>
<p>&nbsp;</p>
<p><img src="http://filehost.cz/images/mWrKa.png" alt="" width="536" height="310" /></p>
<p>&nbsp;</p>
<p><img src="http://filehost.cz/images/9w3Uj.png" alt="" width="533" height="308" /></p>
<p>&nbsp;</p>
<p><img src="http://filehost.cz/images/t6bIO.png" alt="" width="380" height="542" /></p>
<p>&nbsp;</p>
<p><img src="http://filehost.cz/images/gA7SC.png" alt="" width="380" height="537" /></p>
<p>&nbsp;</p>
<p><img src="http://filehost.cz/images/TudFV.png" alt="" width="763" height="533" /></p>
<p>&nbsp;</p>
<p><img src="http://filehost.cz/images/BV9ZL.png" alt="" width="765" height="541" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span style="font-size: large;">Velikostn&iacute; tabulka</span></p>
<p>&nbsp;</p>
<p><img src="http://filehost.cz/images/jhQ5y.png" alt="" width="535" height="122" /></p>


I dont want to manual edit all added products. So I dont know, maybe some plugin that will hide unwanted divs or another codes ? Please help
lemnisk8
Posts: 3
Joined: Fri May 04, 2012 9:05 am

Re: CKeditor with ISC

Post by lemnisk8 »

the link has expired.. does any one have a copy...
can u pls upload it...
cheers
prospektas
Posts: 4
Joined: Tue Apr 19, 2011 6:33 pm

Re: CKeditor with ISC

Post by prospektas »

Post Reply