I have followed the steps described in the following blogpost on how to prevent pasting of images in the ckeditor that is used for the xp:inputRichText control on my xpage:
http://camerongregor.com/2016/11/14/preventing-pasting-of-images-in-ckeditor/
If I load my page in the browser console I get the error:
Uncaught ReferenceError: CKEDITOR is not defined
at blockimagepaste:1
The rich text control is displayed properly.
The Domino server is on FP8.
What can be the cause of this error message and how can I apply a workaround?
Related
I am using highlight JS for syntax highlighting. When published in the Azure webapp, it is working fine and color coding is appropriately displaying as shown below.
enter image description here
But when the same web app is mapped to a custom domain (created in cloudflare), highlight.js is not applied and the syntax is not highligting as shown below.
enter image description here
Note: In the above image text and background are same and text is not visible. Can someone help me out why the highlight.js is not working when the html page is accessed via the custom domain URL?
I am getting DOMException: "The operation is insecure." error in the console from my website (using Vue). It only happens when it's hosted on github pages but it it doesn't error when it's being run locally.
Github page url: https://cubxity.github.io/ks/#/display/2227?scopes=&displayTime=true
My browser is Firefox, build id: 20181206201918
TL;DR: This isn't a Vue issue: you cannot programmatically alter the contents of a form input through the DOM.
Input file fields are more rigorously controlled by the browser DOM codes because of decades of exploits. In this case, you are not allowed to fill in the contents of the file form automatically (programatically), the user must do it manually through the selection trigger.
This isn't a Vue thing, it is an HTML/DOM security thing to prevent scripts from triggering uploads. Someone with more knowledge can give a better answer, but I believe that is the basic issue.
Instead of trying to pre-populate the form input, I always provide a simple hyperlink to the file just below the input form to allow whatever access was intended to the existing file.
I've just learned about the existence of such plug-in. I'm trying to implement an image upload feature using KCFinder. I've also used the standard version of CKEditor, that contains a button for image uploading, without a "Upload" tab.
Instructions tell me to add some lines in CKEditor's config.js, indicating the KCFinder's browser and upload scripts, as follows:
config.filebrowserImageBrowseUrl = '/kcfinder/browse.php?opener=ckeditor&type=images';
config.filebrowserImageUploadUrl = '/kcfinder/upload.php?opener=ckeditor&type=images';
I've tried many different ways to specify the location of these scripts, but no matter what I do, when attempting to upload the image to the server, an error message will show up:
Sorry, the page you are looking for could not be found.
Tons of tutorials, but none help me.
<script>CKEDITOR.replace('body', {
filebrowserUploadUrl: '/admin/upload/content',
filebrowserImageUploadUrl: '/admin/upload/content',
})</script>
replace selector textarea
Am trying to integrate CKEditor in a ADF popup which is in a page fragment using JSP Tag Libraries.
Am using JDeveloper 12.13 version.
Here is the code am using in a popup which is in a subform.
<cke:editor basePath="/PLS/js/" editor="editor1" value="Type Here"/>
Am getting below error
java.lang.IllegalStateException: Could not find component to stream
at oracle.adfinternal.view.faces.streaming.StreamingDataManager.submit(StreamingDataManager.java:519)
at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer._encodeStreamingResponse(DocumentRenderer.java:4047)
Getting this exception with different Content Delivery modes(immediate, lazy) for popup. I have also tried declared ADF RichText Editor and replacing it with CKEDitor replace tag.
Does anyone has idea why CKEDitor is not working in ADF Popup.
Does your var rt1 and rt2 return any values or are they undefined? To search for components in ADF page , you should use javascript as defined in links here and here .
You can also refer the oracle documentation here for using ADF client side Architecture.
Instead of a popup i have implemented CKEditor in a separate task flow and used that as a region in my main page by invoking that task flow as inline-popup dialog. This resolved my issue
I use dropzone in my project, but in two web pages it performs different result ,two web pages' code is similar I don't know how to solve this bug,look at the picture below. Picture 1 is the normal web page:
Picture 2 is the abnormal web page:
the error thrown is:
no url provided