pfrauholle
Nuke Newbie Posts:8
|
02/20/2008 9:14 AM |
|
Hi, knows anyone why the FCKEditor adds < p > tags to the pasted text. I've saw in the tutorial, there wasn't any < p > tags, when the text was pasted into the editor. And when I enter an linebreak ( < enter > ), then the editor makes a mess with the text, for example it added < p >....< / p >.
That's not what I want to achieve. Has anyone an idea, how to fix this.
Thanks pfrauholle |
|
|
|
|
pfrauholle
Nuke Newbie Posts:8
|
02/20/2008 10:58 PM |
|
in my message above there are some hidden text...with tags (above) I meant p tags, which is added to the editor when text is pasted or even if I do line breaks. Thanks for any help on this...pfrauholle |
|
|
|
|
JacobBushnell
Nuke Active Member Posts:31
|
04/29/2010 7:55 PM |
|
I've got the same problem... Did you find anything to keep FCKEditor from doing that? Jacob |
|
|
|
|
Joseph Craig DNN MVP Posts:11667
|
|
cube consulting
Nuke Ace Posts:45
|
05/11/2010 12:27 PM |
|
I have a question I think is related. I followed the DNNCreative tutorials in issue 8, volume 1 but when I select text in the fckeditor and apply a style to it, it applies the style to the whole section...Not just the line I hightlight as is shown in the tutorials.. How can I fix this? I even added the example skin to see if it was css related.. Same results.. Thanks Aad |
|
|
|
|
Lee Sykes DNN Creative Staff
Nuke Master VI Posts:4945
|
|
cube consulting
Nuke Ace Posts:45
|
05/14/2010 8:29 AM |
|
Hi Lee, I am just playing around with content, I have attached an example of some content from the home page. I have tried to change the entermode in the fckconfig.js files as suggested by Joe, and results have been confusing at best, frustrating to be more honest. My body text in the ventrian news article seems to disappear when I don't use < p > in the entermode, and if I do use the < p > entermode, any styling is applied to the whole text plus I get unwanted empty lines before and after the text... Any help would be much appreciated!! My website, by the way, is www.cubeconsulting.nl Thanks Aad |
|
|
|
|
Lee Sykes DNN Creative Staff
Nuke Master VI Posts:4945
|
|
cube consulting
Nuke Ace Posts:45
|
05/16/2010 3:02 AM |
|
Hi,
Thanks for your reply. I changed the entermode and shiftentermode in the fckconfig files to br and p. Shift Enter now gets me a new paragraph surrounded by line breaks, just Enter gets me a nice line break.
I did some more delving in your tutorials and found in the fck tutorials a skin.css and fckcustom.xml file which feature span styles. They seem to allow for partial line/paragraph styling.
Still wonder why the tutorial approach from issue 8 doesn't work for me, but this will do I guess.
Many thanks for your continued support and excellent tutorials Aad |
|
|
|
|
Lee Sykes DNN Creative Staff
Nuke Master VI Posts:4945
|
|
Lee Sykes DNN Creative Staff
Nuke Master VI Posts:4945
|
|
cube consulting
Nuke Ace Posts:45
|
05/16/2010 4:58 PM |
|
Lee, I went through the FCK tutorials to see if I overlooked anything before. But in video 6 of the first series you demonstrate how you highlight a random sentence in a paragraph and apply a format to it and with me that style in that case will be applied to the whole paragraph. Can you help me with that one? Thanks Aad |
|
|
|
|
Lee Sykes DNN Creative Staff
Nuke Master VI Posts:4945
|
|
cube consulting
Nuke Ace Posts:45
|
05/17/2010 3:56 PM |
|
I was trying to add the quote on left and right styles. From the tutorial it appeared you could pick any section of a paragraph and apply the style. I did notice you created styles in the fckstyles.xml file with element = div, in later tutorials I found styles with element = span which do allow styling a section in a paragraph. I wonder why this did not work for me with the style element=div. Also if I re-apply a style again to lose the formatting, that does not happen for me... Any thoughts would be welcome! Thanks Aad |
|
|
|
|
Lee Sykes DNN Creative Staff
Nuke Master VI Posts:4945
|
|
cube consulting
Nuke Ace Posts:45
|
05/19/2010 2:42 PM |
|
Hi Lee, thank you for your reaction. I have done some tests with p tags versus span tags and div tags.. It's all Chinese to me, but I will settle for the p approach as you suggested. Final question on this topic, if I re-select the same style to undo applying the style, nothing happens. Any idea why this is? Thanks Aad By the way, thanks for recommending Ventrian newsarticles module. After some initial going back and forth and in combination with dnnUI's newslider it is pretty smooth sailing! |
|
|
|
|
Lee Sykes DNN Creative Staff
Nuke Master VI Posts:4945
|
|
cube consulting
Nuke Ace Posts:45
|
05/24/2010 7:51 AM |
|
Hi Lee, yes I copied the styles from your tutorial and select and re-select the same text bits to get the formatting undone, but to no avail. Not to worry, I select Normal and the formatting is gone. I just wanted to understand what I did wrong. In a similar quest to understand the dnn universe, in Ventrian NA I was struggling with the [hassumary] tokens which made my [details] content disappear. Apparently the summary is not empty when using the br entermode in the fckeditor, it leaves one br tag. The [hassumary] is then valid, and the [details] token which is between [hasnosummary] token is not displayed. Took me a while and a lot of sedatives before I found that one out.. |
|
|
|
|
Lee Sykes DNN Creative Staff
Nuke Master VI Posts:4945
|
|
cube consulting
Nuke Ace Posts:45
|
05/24/2010 8:03 AM |
|
I think a lot of people (including me) using Ventrian NA and/or DNNui's Newsslider would benefit greatly from one of your tutorials on these modules... The forums on their respective websites are helpful, but I think decent documentation (inlcuding examples) sorely lacks, making it a trial and error experiment to get things to work properly! |
|
|
|
|