Page 1 of 1

Insert image

PostPosted: 11 Oct 2013 17:22
by George
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 :(.

Re: Insert image

PostPosted: 11 Oct 2013 19:04
by Jorge Sousa
Hi George

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

Regards

Re: Insert image

PostPosted: 13 Jan 2015 09:29
by George
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.

Re: Insert image

PostPosted: 13 Jan 2015 10:31
by Alexander Bulei
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.

Re: Insert image

PostPosted: 13 Jan 2015 10:55
by George
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.