CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Insert image

by George » 11 Oct 2013 17:22

Hi!
Is there any way to insert images in editor?
(http://stackoverflow.com/a/6338207)

PS: elRTE good editor, but very difficult for medium web users.
I just shown "image add dialog" (from url) to my users, they asked - why there is so many fields (especially from "advanced" and "event" tabs) and how to simply insert image or add from file inside of editor :)
conclusion - this is not user friendly plugin :(.
You do not have the required permissions to view the files attached to this post.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Jorge Sousa » 11 Oct 2013 19:04

Hi George

Just tell your users to enter the image url and click ok, nothing more.

Regards
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by George » 13 Jan 2015 09:29

Hello!

Now users use url, (i removed tabs Advanced and Events to simplify UI).
So far everything was fine.

New issue appeared from my users :(
When they adding image at the bottom of documet and trying to center it, JS error appears:
"Uncaught TypeError: Cannot read property 'nodeType' of null". Seems, that appear if there is no parent DIV to center it.

Steps to reproduce on online demo.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow

by Alexander Bulei » 13 Jan 2015 10:31

Hi George,

I can't reproduce this js error,
but to center the image, you need block the element (3rd icon in 3rd line of toolbar).

13-01-2015 09-31-08.png


Best Regards.
You do not have the required permissions to view the files attached to this post.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by George » 13 Jan 2015 10:55

but to center the image, you need block the element

Ok, i'll send info to users, that works.

I can't reproduce this js error

It's easy. just add that html code to "source" tab, open "editor" tab, press on image and click "center" button.
html code
<img src="http://www.cgdevtools.com/demo/JQueryDemoV3_IW14_ISAPI.dll/demo_files/v3/images/logo_cgdevtools.png" style="width:200px;height:38px">

You know, users so scared when see any error messages and says - everything broken here :)
If you want, i can make video showcase.
Best regards!
George
 
Posts: 486
Joined: 23 May 2013 15:50
Location: Russia, Moscow


Return to JQHTMLEditor

cron

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.