Syncfusion RTE duplicates image on paste - webforms

The problem is when I copy and paste an image from "Paint" to the Syncfusion RTE it duplicates that image for some reason.
Using ej1 Version=18.3450.0.35 in Asp Net Web Forms
I've tried to update Syncfusion to the latest version but it didn't help.
Checked the clipboard and it has only one file, as expected.
Replicated that in the official Synfusion Demo:
https://asp.syncfusion.com/demos/web/richtexteditor/inlinetoolbar.aspx
Works well in another Syncfusion demo:
https://asp.syncfusion.com/demos/web/richtexteditor/paste-cleanup.aspx
I've tried to put the same RTE as in the second (working) demo but it doesn't work for me.
Any ideas will be appreciated!!!
.aspx file
c# RTE initialization and tools

Fixed by removing 'html' from the 'style' section in the RTE innerHTML.

The reported issue is fixed in your mentioned version “18.3.0.35” in RTE, so kindly ensure this after clearing NuGet and browser cache in your sample.
Please refer to the following release notes.
https://help.syncfusion.com/js/release-notes/v18.3.0.35?type=all#ejrte-bug-fixes
We have also attached a simple sample in this version for your reference where pasting images from paint is working fine.
https://jsplayground.syncfusion.com/fkjqifbh

Related

Preview of math formulars in ASCiiDoc (VS Code)

I am using VS Code to write a document in ASCiiDoc. Part of this document are math formulas.
My problem is that preview of this formulars does not work. For example: If I write
latexmath:[\alpha(t_i)]
the preview is
(\alpha(t_i)).
In Git intepretation of this works, but not locally in preview. How do I fix this?
This problem was discussed in the following GitHub issues:
https://github.com/asciidoctor/asciidoctor-vscode/issues/165
https://github.com/asciidoctor/asciidoctor-vscode/issues/279
The solution appears to be to change the Asciidoc: Change Preview Security Settings to Disable to allow the remote content for the images to load.

ckeditor source view formatting lost?

I've just upgraded from CKEditor 4.4.4 to CKEditor 4.5.2 and it seems that the source code formatting is lost. This is also the case with all demos on the official case eg. main demo page.
It used to look like this (nice formatting, coloring):
And now it looks like this:
Does anybody know if I need a plugin or if it's a bug?
CKEditor has never provided syntax coloring in source mode.
Previously you have used some third party plugin, so you must add it again.

Ck editor displaying tags on content load in phone browsers

I am using ck-editor 3.6.6.1 on a MVC project and I noticed when testing on Phone(android,windows) that editor does not loading text properly. Editor is Displaying Tags as well.
But when I tested in system it is working very much fine with all the browsers.Just wondering why it is not working in phone browsers. Please help me in this issue.
Thanks in Advance!
CKEditor can be Enabled in Unsupported Environments
It will work on ckeditor version 4.X (it gives option to enable compatibility)
So download latest version of ckeditor and add this script
<script>
CKEDITOR.env.isCompatible = true;
</script>
Source Website
If you use razor page use this code to solve it:
#Html.Raw(your text)

ckeditor: mediaembed plugin won't work

I'm using CKEditor for my site.
Now I found the plugin called "MediaEmbed". I need it for embedding YouTube videos.
I installed it and the integration worked fine, but embedding won't work.
When you paste the code into the text area in the embedding dialog and then click on OK in IE and Chrome nothing happens and in Firefox it just adds a image as a flash-content-placeholder.
Let's say the flash-content-placeholder image would be just in the wysiwyg interface, but then i should get the embed code when I click on "view source" - but no, there you just see the source of the placeholder image div and img tag.
Then let's say the embed code is saved internally, so I save the file I create with CKEditor, and the out I get is just what I entered without the stuff the MediaEmbed plugin has generated at all.
How to fix this?
Please help!
Yours Joern.
use firebug and see, it'll be giving a cross domain error. the plugin has a bug. use try catch in the place where is accesses the windows.name property for a workaround.
Try istead ckeditor youtube plugin

How can I try this jquery plugin - Galleria?

Ok. I have some experience with HTML and CSS, little with Javascript and none with JQuery.
And I'm trying to try out in my HTML file the Galleria plugin with fullscreen theme but I can't make it work. ( http://galleria.aino.se/ )
It only show the empty page with no pictures. I took the source code from the demo page and I pasted in my page and after some little modifications with the url of the theme, I managed to have on my screen only the image, without the "mechanism". Any help?
I think the instructions were made for an old release of the plugin and that's the reason I can't get it work.
P.S. I found a ready made demo on googlecode, but I can't get the fullscreen feature. Any help?
Try passing debug:true to yield more errors if you are seeing a blank page. Regarding customizations, try the documentation and API reference.

Resources