Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Telerik Editor issuesTelerik Editor issues
Previous
 
Next
New Post
10/12/2011 5:56 PM
 
Hello There:

One more thing about the Rad Editor that I would like to address and wonder if anyone can be of any assistance with is the problem with span tags being generated in firefox 7.0.1 when applying various classes from the rich rad editor.

I don't remember if this was a problem in previous firefox versions but I did notice the problem even esisted in the older telerik editor.

Basically what happens is type something out and than select it with the mouse and apply a style to say a paragragh. In IE and Chrome what happens is the praticular selector you were selecting information in (in this case the paragraph tag) gets the style attribute added to the p tag itself so for example you have

hello

and you apply a style lets say colorchange. In ie and chrome what is rendered is the following:



That is the way it is suppose to happen as it takes perfectly. Now in Firefox 7.0.1 (and I suspect the case is true in previous versions as well) when you do the same thing as shown in our scenario to the paragragh tab if you are editing the information in firefox you get the following html read out



Now the problem with this way of formatting things certain attributes don't seem to take. I think font weight is applied but alignment for example text-align:center; does not seem to work when a class style with this attribute is applied in firefox which builds its definition from a span tag rather than a class attribute of the selector at hand (i.e. p, h1, h2, etc...)

So I guess my question is the following: Is this behavior a bug in the rad editor or is there something I need to be doing so that the class attribute does not attach itself to a nested span tag within a paragrapgh selector when using firefox.

Again Chrome and IE seem to be ok but I am going to be training some people on DNN 6 who make high use of firefox and are more comfortable in this browser than IE so it is critical that things as simple as applying styles to text in the rich text editor take hold in firefox as well as chrome and IE. I noticed there are a lot more problems with it in Opera but Opera is really a dead horse so I am not even concerned about how it looks their but I am concerned about Firefox.

Thanks,

Bo
 
New Post
10/12/2011 6:37 PM
 
Hello Again,

One more thing I failed to mention when posting my last comment about the issue with Firefox is that there seems to be also an issue with IE.

The issue with IE is that when you are creating styles to be displayed in the apply style dropdown list I have noticed that for whatever reason IE 9 and IE 8 compatible version does not seem to update this right away in fact sometimes it can take quite some time to finally show up in the apply styles list in IE after you have added the style to the editor.css and style.css files.

In firefox on the other hand as soon as you hold down ctrl and press f5 you can go back into the editor and see the styles you had just added and uploaded to your installation.  I thought this might be a caching issue in IE so I went ahead and deleted all the temporary files, history, etc... I closed the browser and all its tabs and reopened it and tried it again but in vein.  I even restarted windows and tried to go into the browser but again it didn't seem to fix it.  Than I was out for a bit and when I came back after a couple hours or so the style I had been trying to get to show in the html editor using IE finally did show.

Now it may well have been  resolved BEFORE the two hours had gone by but the point it that for the whole 5 minutes or more I was trying to get it to show up in IE after it was showing up successfully in Firefox it still didn't appear.

I am not sure where the delay is here.  I can't think it is an issue with the hosting server because if it were than I should not see it immediately in firefox either..

I am wondering if it is in the caching of the dotnetnuke site found under the host menu or perhaps the need to recycle the app pool or stop and restart the domain.

Somehow these tricks doesn't seem to make sense since it is isolated to IE in regards to this problem.  Actually I had not tried this in Chrome but definately in Firefox many times and everytime it would resolve with the updated styles with the first refresh but never so with IE.

Thanks for any help or light you can shine into this issue as well.

Bo
 
New Post
10/12/2011 7:02 PM
 
Here's one more thing I would like to add to this thread for anyone who is listening. In IE I am trying to apply a style before I am typing because I want to start the rich text formatting cursoor int he centered position as one of the attributes to one of my styles is center.

Problem is if I don't type in text first but simply apply a style weather it is IE or Firefox it doesn't matter but in this case I get that dreaded nesting span tag inside the p tag with the class declaration in it which of course does not take since it is inside a tag whose display is inline instead of block.

Now if instead of applying the style before I start typing if I type some text and highlight the text I just typed and than apply a style with a center attribute in IE I get the expected results the words are centered with all other aspects of that particular style applying.

What happens is when I write something before applying one of the styles it appears that behind the scenes words are being written between the start p and end p tags so that when I than highlight the words and apply the style that class attribute is tacked onto the P element instead of a span element inside the P element being generated which is true across the board except firefox of course.

Is their anyway of being able to apply a style before starting to write so that the class attribute might be applied to the selector tag (in this case P) before any content is written and than when applying the style alignment shows up properly in rich text of rad editor allowing the contento automatically go between the start and end selectors .

Is this behavior of class attribute being attached to the main selector (i.e. P, H1, H2, etc....) possible weather or not you have typed in content and highlighted it or simply just applied the style in preparation of typing the content.

I didn't see anyway of doing this but I think this is something that should be looked into as it would feel even more like a word processor since people normally do their alignments before typing unless they forgot to do this and have to scrub or highlight it and than apply the style after the fact.

Anyway thanks for any input you guys might have on any or all these inquiries.

Bo
 
New Post
10/12/2011 7:38 PM
 
Hello Westel and others:

Another observation I made in regards to this Telerik editor (and I don't know if it is a bug) and that is when creating a link using the rich editor if you try to make this a relative link by starting the root with a forward slash instead of the http:// protocol when you click on ok and look at the html source weather it be firefox or IE you get the absolute path prepended before your link minus the www as what happends is the http:// but not the www after that however the rest of the path is automatically generated before the relative link you were trying to make.

Is there anyway around this besides knowing how to go to the html area and physically type that relative link out instead of depending on the link manager tool.

I can do this kind of stuff since I am pretty comfortable with html but I am trying to utilize the rich text editor since I know that the people I am handing this site over to will not be html savvy but certanily know how to use a computer in regards to desktop application like word and the like.

Thanks,

Bo
 
New Post
10/12/2011 7:59 PM
 
Dnn has a built in absolute to relative conversion for links pointing to addresses in the current alias list.

Basically what happens is that if it finds ANY link to the HTML page that matches EXACTLY an alias in you site settings portal alias list it will automatically convert that link to a RELATIVE address when the page is saved.

When the page is again loaded into the HTML editor - it now does not know what the original address was - since the link is stored as a relative address.  The HTML editor replaces the relative address with an absolute address to help out - the address it uses is the URL marked as the Default alias for your site.

In the dnn site settings - change your default alias to the www. version - which will cause the www. version of the alias to be re-injected by default.

It should in theory be possible to turn of this automatic absolute to relative conversion by changing settings in the HTML Editor Manager if you are using the dnn6x radeditor - but there has been a bug in the HTML module for some time that hard codes the conversion regardless of what settings u make in the HTML Editor Manager.  Have not had the opportunity to check if these are resolved in 6.0.2 - or in the coming 6.1.0 - maybe cathal or others may like to jump here if they have any intel on that.

Cheers

Westa
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Telerik Editor issuesTelerik Editor issues


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

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

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. 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.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out