- Open the demo and left click the RadEditor image. Note it doesn't select the image in Safari or Chrome, and thus the image properties don't appear in the Properties Inspector. But it works fine in IE, FF and Opera.
- However, when you select the image in Opera, you can't initially make the cursor appear in the Width, Height, nor Border Width boxes. You have the click the up arrow in the box, and then you can click inside the box to start typing
- Right click the image in Chrome and Safari and note the image turns blue and the properties appear in the Properties Inspector.
- You can then left click to remove the context menu in Chrome and Safari and manipulate the selected image in the properties inspector. But the blue overlay looks bad.
- Note that resizing handles do not appear on a selected image in Safari, Chrome, nor Opera.
28 Answers, 1 is accepted
Please, note that the image resize handlers are provided by the Rich Text Editing engine of the used browser. This feature is still not implemented by Safari / Google Chrome and Opera developers and it is not possible to be enabled in RadEditor under these browsers.
We are aware of that when an image is right clicked in Safari and Chrome it becomes selected and we plan to fire this event when an image is clicked with the left mouse button to select it. This feature is logged in our feature requests list and will be implemented in a future build of the control.
Kind regards,
Rumen
the Telerik team

Have you ever thought about making your own Rich Text Editing engine and bypassing the browser's? This would eliminate some of the cross browser problems like resizing handles not appearing, the Enter key behaving differently, etc. I realize that's probably a huge task.
The browser plays the most important part in our product - it edits the content. If a feature is not supported by the browser we have to write it ourselves. However, if we do not use the editing engine of the browser, we have to write the complete control from scratch, and the end result will be far from the one we currently offer. Not to say that we have to rewrite the browser's rendering engine and the rich-text editing engine, we have to offer support for CSS, JavaScript, HTML, XHTML editing, displaying images, tables etc. As far as I know this is about 15MB of an installation on the client. There is no way we can display this type of application through an internet connection.
The development of the rich-text editing engine by Web-Kit browsers and Opera is moving forward and the needs of our clients have shifted towards better products - fast, usable, stable, bug-free and extensively customizable. This all should come in the smallest package possible, for performance issues. We are using everything the current browsers offer and sincerely hope that Web-kit and Opera developers will implement the features provided by IE and Firefox.
Best regards,
Rumen
the Telerik team

Our clients want the image selection feature in Safari and Chrome quite urgently. I wonder when this fix can be released, where can I see the feature implementation plan or progress? thanks.
Regards,
Shi Zhangjue
We will try to add the ability to select images in the content area of RadEditor in Chrome and Safari for the Q3 2010 release of RadControls for ASP.NET AJAX.
In the meantime you can use the following code solution to enable the image selection in Safari and Chrome:
<telerik:RadEditor runat=
"server"
ID=
"RadEditor1"
OnClientLoad=
"OnClientLoad"
>
<Content>test<img alt=
""
src=
"http://demos.telerik.com/aspnet-ajax/editor/Img/editor.jpg"
/>test</Content>
</telerik:RadEditor>
<script type=
"text/javascript"
>
function
OnClientLoad(editor, args)
{
if
($telerik.isSafari)
{
var
element = editor.get_contentArea();
$telerik.addExternalHandler(element,
"click"
,
function
(e)
{
if
(e.srcElement.tagName ==
"IMG"
)
{
editor.selectElement(e.srcElement);
}
});
}
}
</script>
Note that the temporary solution does not work when editing full HTML content.
Greetings,
Rumen
the Telerik team

We are targeting a release date for the official Q3 2010 release for 10th of November 2010.
Best wishes,
Rumen
the Telerik team

The fix is included in the Q3 2010 release of RadControls for ASP.NET AJAX. You can see in the following video http://screencast.com/t/qqn9nGE4wumt that I am able to select an image in Chrome and Safari by just clicking on the image with the left mouse button.
Are you able to reproduce the problem in the Default Example of RadEditor?
Best regards,
Rumen
the Telerik team

Yes I can reproduce the problem in the default example. I can select the big RadEditor image, however trying to select the small images in the table this bug occurs.

Yes I can reproduce the problem in the default example. I can select the big RadEditor image, however trying to select the small images in the table this bug occurs.
Unfortunately, I am still unable to reproduce the problem? As you can see in the following video http://screencast.com/t/QuRxzRJppgxD I am able to click on the browser icons inside the table.
In order to help you we need reliable steps to reproduce the problem.
Best regards,
Rumen
the Telerik team


Please see attached screencast. The big image works, however the smaller images right clicking for properties and image map doesn't work.
http://www.screencast.com/users/dimoss/folders/Jing/media/8d34b585-2dbe-488a-8545-6dfaab7f9517
We found that the Image Option and Image Map manager do not work when right clicking on the small images in Safari / Chrome because of the style="float: left;" attribute applied to the browser's icons. I logged the problem and we will fix it. You can find the PITS Issue here: Public URL.
As to the problem reported by Steve: The get_selectedElement() uses the browser's client-side API to get a reference to the selected element. Chrome / Safari returns wrong information about the selection when the user clicks on the image and this could not be fixed.
All the best,
Rumen
the Telerik team

Dan
The image selection feature is already implemented in RadEditor, however, while doing the research about implementing resize handlers we stumbled on several very severe side effects and we decided to postponed this feature until WebKit engine does not provide better support for editable content.
In addition, I have checked several different WYSIWYG editors and none of them was offering such functionality. If you could provide implementation of resize handlers for an image in editable <iframe> we will gladly help you incorporate this feature for RadEditor.
Kind regards,
Dobromir
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

The WebKit rich text editing engine still does not offer resize handlers for image elements. This is a feature that should be implemented by the browser developers because the handlers are window objects but not HTML elements. This WebKit limitation could be observer in all DHTML web editors as well as in the editable DIV and IFRAME elements.
Could you please provide reliable steps to reproduce the mentioned "set image property" problem and we will research it?
Best regards,
Rumen
the Telerik team

- In Rad Editor put a image using image manager.
- Select that image / directly right click on that image
- You will get 2 context menu, one is "set image property"
- Now give desired width and height. And Click ok/save button.
- As you have given the required width/height, the image should display with that width/height in editor.
- In my case, it sometimes shows properly , sometimes that changed width,height are not reflected on editor.
I will need reliable steps to reproduce the problem, because using the provided instructions I was unable to replicate the problem on my end. You can see my test at http://screencast.com/t/31T6f7DIrO. If we are unable to reproduce the problem, we will be unable to debug and fix it.
Are you able to reproduce the problem in the Default Example of RadEditor? If so, could you please record a video using Jing or another software and send it for review?
Best wishes,
Rumen
the Telerik team

http://yuiblog.com/sandbox/yui/3.3.0pr3/examples/resize/image-resize.html
This is a custom control but not a feature provided in the browser. This control is based on JavaScript and it will slow down the editor.
We also offers our own resize and drag handler control explained in the following help article: Resize and Drag Extender, but if we add such code in the editor, it will drastically decrease the editing performance in the content area, because you can have multiple images and for each one of them you should create and define objects for the different angles of the image.
Once again I would like to point that this feature should be implemented and provided by the WebKit developers as it is offered by IE and Firefox rich text editing engines. All other custom JavaScript based implementations will have side effects and performance problems.
Kind regards,
Rumen
the Telerik team

http://screencast.com/t/cL3wo1ANdw
I have taken this in chrome
You can see that it works some time , but not always.
Which version of RadEditor do you use? Are you able to reproduce the issue in the Default Example of RadEditor (it runs the latest build of Telerik.Web.UI.dll)?
Is it possible to provide the content from the video so that I can test it on my end?
Kind regards,
Rumen
the Telerik team

what about selecting and resize a textbox , or any input


are you using chrome?