SMF Development > Bug Reports

[3553]Bbcode problem

<< < (4/4)

emanuele:
SMF version?

Assuming you are using the 2.0, are you using the WYSIWYG editor?

Ah, probably I get what you mean.

You wrote 4 lines, then selected all of them and changed size and color. Then selected line 2 and changed color, selected line 3 and assigned code, selected line 4 and changed color.
Am I right?

Illori:
i am not sure if code bbc is supported in the WYSIWYG editor, i think arantor had a post about this before in this board.

emanuele:
See my edit.

It happens also withou WYSIWYG, but I don't know if it can be considered a bug...it's a wrong BBCode nesting.

Illori:
related to http://dev.simplemachines.org/mantis/view.php?id=4071 ?

emanuele:
In fact it depends on vivid's answer.
If I understood correctly it's not at all related to the WYSIWYG.

It's just a sequence of operations done with the formatting buttons:
1) write 4 lines of text,
2) select all of them and change size and color using the formatting tools (i.e. the drop down lists, or otherwise put a color and/or size tag around the entire text),
3) select the second line and change the color (same as above with the drop down list, or put a color tag around the second line),
4) select the third line and apply the code tag with the code button (or put code tags around the third line)
5) (optional) select the last line and change color (again with the tool or putting color tags)
It will end up with some tags improperly closed.

The fact is that "block level" tags (code and quote for example) break the formatting applied to the entire post (i.e. those applied at step 2) because the formatting itself is not a block level tag. and the result in that case are some closing tags leftover at the end of the post.

I think is this one.

Navigation

[0] Message Index

[*] Previous page

Go to full version