X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Redactor WYSIWYG Editor Integration (https://forum.x-cart.com/showthread.php?t=65025)

PhilJ 10-02-2012 02:31 PM

Redactor WYSIWYG Editor Integration
 
  • Lightweight WYSIWYG HTML editors for product descriptions, static pages, news etc.
  • Drag and drop image and file uploaders built-in!
  • Embed videos by simply pasting the video URL (YouTube & Vimeo)
  • Generates clean HTML, even when pasting content from Word etc.
  • Clean product descriptions HTML = better for SEO
  • Optional clips feature for repetitive content insertion
  • Optional defined links feature for repetitive link insertion
  • Please note, requires jQuery v1.9.1 minimum (admin side)
  • Compatible with X-Cart v4.4.x - v4.7.x
DEMO / INFO

PURCHASE

Note: we are OEM licensed.

totaltec 10-02-2012 02:42 PM

Re: Redactor WYSIWYG Editor Integration
 
This alone makes it worth using:
"The tool cleans up text automatically on paste. Simply copy text from MS Word, paste it into Redactor and you’re done, crystal clean text ready for you to use."

Been wanting something like this for my clients for a long time. Thanks Phil.

wnc2 03-09-2013 05:57 AM

Re: Redactor WYSIWYG Editor Integration
 
Quote:

Originally Posted by PhilJ
  • Extremely lightweight, uncomplicated HTML editor
  • Up to eight times faster than CKEditor!
  • jQuery powered, easy to implement, use it wherever necessary
  • Includes basic WYSIWYG options with drag-n-drop image uploader
Licensing starts at $19 - redactorjs.com - Edit: now $99

Tested with v4.5.2, but should work for earlier versions.

QT devs might want to consider this for future X-Cart versions, as it's great :)



hi phil,

after reading your post, i've buyed and installed this editor, but i have a problem.

in shot and full product description, editor starts to write in bold and image upload doesn't work.
instead in news management, category, static pages, editor works well.

any idea

thanks in advance

davide

PhilJ 03-09-2013 06:08 AM

Re: Redactor WYSIWYG Editor Integration
 
Are you sure it's bold? Are there <b> or <strong> HTML tags in the description source code by default?

Ensure you have put the correct server path in your upload PHP file.

wnc2 03-09-2013 06:19 AM

Re: Redactor WYSIWYG Editor Integration
 
Quote:

Originally Posted by PhilJ
Are you sure it's bold? Are there <b> or <strong> HTML tags in the description source code by default?

Ensure you have put the correct server path in your upload PHP file.



hi phil,

many thanks for your quick reply.

if i write qwerty i see it in bold but the code is simply:
<p>qwerty</p>

than if i select the letters and i press the "B" button (which is obviously deactivated) the letters turn to normal character and the code become:
<p><span style="font-weight: normal;">qwerty</span></p>
if i press "B" again, letters turn Bold again but the bold code doesn't appear, it turn back to:
<p>qwerty</p>


any idea?

PhilJ 03-09-2013 07:20 AM

Re: Redactor WYSIWYG Editor Integration
 
Are you using the JS and CSS files from my zip file in the first post?

Or the purchased JS and CSS files?

If using mine, then I will update the files to the latest version.

You shouldn't be getting inline CSS, should be <b>...</b> tags for bold.

wnc2 03-09-2013 07:40 AM

Re: Redactor WYSIWYG Editor Integration
 
Quote:

Originally Posted by PhilJ
Are you using the JS and CSS files from my zip file in the first post?

Or the purchased JS and CSS files?

If using mine, then I will update the files to the latest version.

You shouldn't be getting inline CSS, should be <b>...</b> tags for bold.


i followed you info, to set image upload and template editing, then i purchased immediately the latest version and i've uploaded it

the purchased version has other folders than /redactor

it has:
/lib
/demo
/css
/redactor

the files inside redactor are the same but with different size

PhilJ 03-09-2013 03:34 PM

Re: Redactor WYSIWYG Editor Integration
 
Use the redactor.css and redactor.min.js that you got in your purchased zip.

I've updated the files above anyway.

wnc2 03-11-2013 03:01 AM

Re: Redactor WYSIWYG Editor Integration
 
Quote:

Originally Posted by PhilJ
Use the redactor.css and redactor.min.js that you got in your purchased zip.

I've updated the files above anyway.



no way , same problem, the editor works well everywhere (categories, brands, news) except product management page (the most important).

stil bold and still no image load

only one differente thing, now the editor window height is increased, before it was about 1cm high.


any (other) idea?

thanks in advance

Kman 10-16-2013 05:39 PM

Re: Redactor WYSIWYG Editor Integration
 
We just had Phill install Redactor on our 4.1.12 site. What a joy this editor is! And Phil was fast, professional and made it work. Highly recommended.


All times are GMT -8. The time now is 10:42 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.