DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

CKEditor Questions, Issues

 35 Replies
 4 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Page 1 of 41234 > >>
Author
Messages
New Around Here
Posts: 25
New Around Here

First, under the editors config menu their is a entry called 'Font_DefaultLabel' and from my searching that is what you set the default font as, I enter 'verdana', save it. Go to post something, and while the toolbar under font shows 'verdana' that's not what types, it's still the old default font. Once I manually select verdana it changes. What am I doing wrong? Font_DefaultLabel:Font_DefaultLabel:

Second, I added the 'oembed' button to auto insert youtube vids with a link as it've done in previous version of DNN/this editor in the past. However the button does NOT appear on the toolbar. Every other button does but not that one. I've deleted it, saved, re-added. Nothing. Any ideas?

Lastly, for upload options. For browser root folder and default upload folder I have set for /users. And ticked the box that says use sub dirs for non admins. Does this mean users who upload images to post in the forums or such will only have access to the images they upload? That's basically what I want, I don't want users to be able to screw around with images uploaded by other users.

Thanks for any and all help!

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

Hello!  

First, I moved your post to another forum so it's easier for everyone to find and benefit from in the future.  

Next, did you try clearing the cache and/or restarting the application after making these updates?  The video below will help you do that.  

https://www.youtube.com/w...-0y8o5EBYVcCY2yzhTZk

New Around Here
Posts: 25
New Around Here

This is freshly installed site but I did that anyways and nada. The button in question did not come back.

New Around Here
Posts: 25
New Around Here
So no CK editor pros here? Any other forums or place you folks know of I could get some help on these issues?
Veteran Member
Posts: 838
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
New Poster
New Poster
Congrats on posting!
I'll see if I can ping Timo.
Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Posted By Tycho de Waard (SU) on 12/3/2022 1:53 AM
I'll see if I can ping Timo.

Did you already ping Timo?  He or Stefan would be good people to get a better idea from.  They've both had more experience with the technical side of the editor than I have.  :)  

 

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
Posted By Gothic Wizard on 12/2/2022 10:41 PM
So no CK editor pros here? Any other forums or place you folks know of I could get some help on these issues?

Any forum is a combination of whether the right person sees a post and when.  This is why some of us sometimes try to reach out directly to someone we know might be more knowledgeable.  Hopefully, we'll have another answer for you soon.  :)  

 

New Around Here
Posts: 25
New Around Here
I appreciate the help Will.
Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!
Posted By Gothic Wizard on 11/26/2022 10:28 PM

First, under the editors config menu their is a entry called 'Font_DefaultLabel' and from my searching that is what you set the default font as, I enter 'verdana', save it. Go to post something, and while the toolbar under font shows 'verdana' that's not what types, it's still the old default font. Once I manually select verdana it changes. What am I doing wrong? Font_DefaultLabel:Font_DefaultLabel:
 

AFAIK that's by design, the styling functions are there to overrule the default styling. So you cannot set the default font being used with that dropdown, it's only made so a user can overrrule the inherited font.
For that you would have to se the default font in your skin.

Second, I added the 'oembed' button to auto insert youtube vids with a link as it've done in previous version of DNN/this editor in the past. However the button does NOT appear on the toolbar. Every other button does but not that one. I've deleted it, saved, re-added. Nothing. Any ideas?
 

All the buttons are essentially plugins to the editor. For them to work there is also some plugin javascript file that needs to be available.
If that js file does not exist, the plugin cannot load.
The plugin folder can be found here: Providers\HtmlEditorProviders\DNNConnect.CKE\js\ckeditor\4.5.3\plugins

It does not contain the oEmbed folder by default
More info: https://ckeditor.com/docs...#manual-installation

So I think that oEmbed should not be a part of the available options as it's confusing (suggests it's available).

I have loaded custom plugins in the previous CKEditor (Ingo's version), but not in this one.
I'll try to test that somewhere this week.

Lastly, for upload options. For browser root folder and default upload folder I have set for /users. And ticked the box that says use sub dirs for non admins. Does this mean users who upload images to post in the forums or such will only have access to the images they upload? That's basically what I want, I don't want users to be able to screw around with images uploaded by other users.

Thanks for any and all help!

 

That's how it should work but I would also make sure you set the correct upload rights in the DNN file manager (site assets).
To make sure that user roles upload options are also limted by the DNN folder rights.

HTH

 

New Around Here
Posts: 25
New Around Here

That is all VERY helpful, I got the embed plugin working per se. I shows up and I am able to put in a web address. However I am having this exact error at the link below and since I am using https assuming this is the cause. I find it odd I d/l the latest plugin and am having the same issue from 6 yrs ago, but here we are. My issue is with this link I don't understand any of this 'fix'. If someone could explain to me how I implement this fix and not talk to me like I code plugins for a living that would be very helpful; https://dev.ckeditor.com/ticket/1681

Aside from the plugin issue my only remaining issue with the editor is when I am in the image upload tool and click browse server it does not pull up a file explorer but I get this error, any insight appreciated;

AbsoluteURL:/Providers/HtmlEditorProviders/DNNConnect.CKE/Browser/Browser.aspx

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:a50b40cb-6819-4cfd-92d9-bb89975bf4ec

AssemblyVersion:9.11.0

PortalId:0

UserId:1

TabId:21

RawUrl:/Providers/HtmlEditorProviders/DNNConnect.CKE/Browser/Browser.aspx?Type=Image&tabid=21&PortalID=0&mid=382&ckid=txtSummary&mode=Portal&lang=en-US&CKEditor=dnn_ctr382_AddEditArticle_txtSummary_txtSummary&CKEditorFuncNum=3&lang

Referrer:https://cyberpunk-news.on...fault%2fNo+Container

UserAgent:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:107.0) Gecko/20100101 Firefox/107.0

ExceptionHash:yZPrNxBaOiRNLOPC8YORUfP2PL4=

Message:A self closing tag cannot have child controls and/or content

StackTrace:


 

 

InnerMessage:A self closing tag cannot have child controls and/or content

InnerStackTrace:

   at DNNConnect.CKEditorProvider.Controls.HtmlGenericSelfClosing.get_Controls()
   at ClientDependency.Core.ControlExtensions.FlattenChildren(Control control)
   at System.Linq.Enumerable.d__17`2.MoveNext()
   at System.Linq.Enumerable.d__59`1.MoveNext()
   at System.Linq.Enumerable.d__17`2.MoveNext()
   at System.Linq.Enumerable.d__59`1.MoveNext()
   at System.Linq.Enumerable.d__17`2.MoveNext()
   at System.Linq.Enumerable.d__59`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control)
   at ClientDependency.Core.Controls.ClientDependencyLoader.RegisterClientDependencies(WebFormsFileRegistrationProvider provider, Control control, IEnumerable`1 paths)
   at ClientDependency.Core.Controls.ClientDependencyLoader.OnPreRender(EventArgs e)
   at DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceLoader.OnPreRender(EventArgs e)
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Control.PreRenderRecursiveInternal()
   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

 

 

Page 1 of 41234 > >>

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved