i am trying to inset
inbetween paragraghs in a list.

So I want it like this

-----BEGIN----------
1. Line 1(

inserted here)

2. Line 2
------END----------

However, when I submit the out put is this.

-----BEGIN----------
1. Line 1
2. Line 2
------END----------

When I go back to edit the

has been removed.

I am using full html,

Thanks,

Ed

Comments

sgtaw’s picture

-----BEGIN----------
1. Line 1(br br inserted here with < >)

2. Line 2
------END----------

However, when I submit the out put is this.

-----BEGIN----------
1. Line 1
2. Line 2
------END----------

When I go back to edit the <> <> with br inside has been removed.

ontwerpwerk’s picture

Some things might have happened:

You're using the drupal default input filter - which will strip all disallowed html tags - you may edit that filter to your liking

There might also be a filter in FCKeditor that filters bad html before saving the node, in that case try <br/> (that is a break with a closing xhtml slash)

ontwerpwerk’s picture

Status: Active » Postponed (maintainer needs more info)
sgtaw’s picture

Hi!

Thanks for the info. I updated the drupal filter so that it can accept line breaks. And the < > (br/ insode) shows up.

BUT, if you look at this page http://acquirewisdom.com/hi/break-testing you'll see that the intention of the br/ is not working properly for numbered lists.

I have attached a video that I think shows it clearly.

Thanks,

Ed

sgtaw’s picture

Sorry,

The link is http://acquirewisdom.com/hi/break-testing

and the movie is on that page.

Thanks,

Ed

ontwerpwerk’s picture

that page unfortunately gives me access denied...
but on the other hand - if you're breaks are not doing what you want you'll have to fixt hat in your css

sgtaw’s picture

Sorry again!

Try http://www.acquirewisdom.com/break-testing

I don't think it is CSS? But I'm not an expert.

The error is occuring within the FCKEditor box.

Thanks.

sgtaw’s picture

Hi,

I ran another test on http://www.fckeditor.net/nightly/fckeditor/_samples/default.html to make sure it wasn't my css

1. click on "Insert/Remove numbered list"
2. Enter the following -- line one, line two, line three so you get

1. line one
2. line two
3. line three

3. Left mouse click to the end of "line one" You'll notice a space is at the end of the line even if you don't press the spacebar
4. SHIFT+ENTER to get a break. It looks OK
5. Click on "source". You will see that the break is not there
6. Click on "source" again. You will see that the break is removed!

Here is another test....

DELETE everything

1. click on "Insert/Remove numbered list"
2. Enter the following -- line One, line Two, line Three so you get

1. line one
2. line two
3. line three

3. Left mouse click at where this quote shows "line On" So the cursor should be between the "n" and "e" of "one"
4. Press the Right arrow key ONCE so that the cursor is now at the end of the line
5. SHIFT+ENTER to get a break. It looks OK
6. Click on "source". You will see that the break IS THERE, BUT so is a no-breaking space
7. Click on "source" again. You will see that the break still there and it looks OK BUT a non-breaking space is still in the background.

Can this be fixed?

Thanks,

Ed

sgtaw’s picture

I just found something else out.

If you delete the non-breaking space from the source, everything "seems" OK until you do a save.

THEN the breaks are eliminated again!

Remember this is when I am trying to do numbered lists.

The non-breaking space is an issue when people PDF because they show up as little boxes.

Thanks,

Ed

sgtaw’s picture

Hi Anything on this?

ontwerpwerk’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

the behaviour of the nonbreaking space showing up as a square in pdf should be fixed in the pdf converter, &nbsp; is a default html element that should not cause any trouble when you're looking at a pdf..

weird behaviour of the fckeditor component is beyond the scope of this module, so that will not be fixed here, please refer to the fckeditor support and development sites...