Hi, I'm using the "pe:ckEditor" in my project, I know that we can include plugins. In my case I'm using "resources-ckeditor-4.0.0." My problem is that I need to upload an image from a local path, (My PC) with just a button using the system file explorer functionality not the standard URL option available.
I'm using: primefaces-5.3.7, primefaces-extensions-4.0.0 and resources-ckeditor-4.0.0,
I can't upgrade my project to the 6.0 primefaces and extensions versions now, because is causing the system to be unstable
If anyone knows a possible solution, please let me know.
Upload an Image from select image file , in pe:ckeditor
It looks like this Enhanced Image Plugin allows loading of local images from your desktop?
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Posts: 23
- Joined: 28 Dec 2012, 21:26
Hello,
I am trying to add upload image functionality to the CKEditor. I have downloaded image2 and uploadimage zip and added to the resources-ckeditor plugins directory. As mentioned in the document https://sdk.ckeditor.com/samples/image2.html#sample-1
, one need to add
extraPlugins: 'image2,uploadimage',
or in JSF as
extraPlugins="'image2,uploadimage'"
But extraPlugins is not available in attribute pe:ckEditor. Similar to this need to add following attributes
filebrowserBrowseUrl
filebrowserImageBrowseUrl
filebrowserUploadUrl
filebrowserImageUploadUrl
uploadUrl
format_tags
removeDialogTabs
How to do it? Your help in this regard greatly appreciated.
Thanks
Ravi
I am trying to add upload image functionality to the CKEditor. I have downloaded image2 and uploadimage zip and added to the resources-ckeditor plugins directory. As mentioned in the document https://sdk.ckeditor.com/samples/image2.html#sample-1
, one need to add
extraPlugins: 'image2,uploadimage',
or in JSF as
extraPlugins="'image2,uploadimage'"
But extraPlugins is not available in attribute pe:ckEditor. Similar to this need to add following attributes
filebrowserBrowseUrl
filebrowserImageBrowseUrl
filebrowserUploadUrl
filebrowserImageUploadUrl
uploadUrl
format_tags
removeDialogTabs
How to do it? Your help in this regard greatly appreciated.
Thanks
Ravi
I don't think adding your own plugins to CKEditor is that easy. I think the Extensions team would have to add it for you as plugins to the component.
You can request the enhancement here: https://github.com/primefaces-extension ... com/issues
You can request the enhancement here: https://github.com/primefaces-extension ... com/issues
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests