Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
TinyMCE editor breaks html lists on edit
Avatar
Kaledo
Member
Free Members
sp_UserOfflineSmall Offline
Jan 14, 2014 - 8:02 am

How to reproduce:

Add an ordered list (i found it with that but probably with unordered too), make the post, go to edit post after posting, TinyMCE adds spaces and unnecessary <ol> tags (if you look in the html view).

A bigger issue than this appears when using the spoiler tag, editing the post breaks the whole template, making the list go outside the posts and forums divs like the following snippet (try to post and repost the edit without touching anything else):

[ list=1 ][ * ]Old Spice Taste
[ spoiler ]Cryburied Bot
sdfsdfsdf
sdgfdsg[ /spoiler ]
[ * ]sadasfsa
Old Spice Taste
[ spoiler ]Cryburied Bot
sdfsdfsdf
sdgfdsg[ /spoiler ]
[ /list ]

(remove spaces between the brackets, it was getting formatted here)

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 14, 2014 - 9:33 am

Before going any further - why the bbCode in a Rich Text editor?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Kaledo
Member
Free Members
sp_UserOfflineSmall Offline
Jan 14, 2014 - 3:09 pm

Because this is an import and i was using bbcodes in my old forum. But all the bbcodes there (list and *) are supported natively by TinyMCE too, except spoiler but that is your plugin.

Anyway i tried without bbcodes too, using the ordered list button in tinymce and it's the same thing.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 14, 2014 - 3:30 pm

TinyMCE does not support or process bbCode unless you have a special bbCode plugin installed.

OK - I will try this but I will try it on the next version. WordPress are upgrading to V4 of TM in their next release (3.9) and we are having to rewrite much if our code to deal with this so it makes no sense for me to test this in the current version. As soon as we have it stable in our test/development I will take a look.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625