Advertisement:
A2Hosting

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004890SMF 2.1Postspublic2011-11-20 13:502012-06-22 04:15
Reportergroundup 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
PlatformOSOS Version
Summary0004890: WYSIWYG underline and point size issues
Descriptionhttp://www.simplemachines.org/community/index.php?topic=377885.0 [^]


1) the font size drop down is misleading, it gives sizes in pt, but when using the WYSIWYG editor the sizes are set without any measure or in em;
2) when there is a size tag included in an u tag, then if a new line of text is added and the size is set to something different toggling the editor from WYSIWYG to normal (or post the message) will result in including a closing size tag just before the 2nd opening tag and another one after the 2nd closing size tag...example:
Code: [Select]
[u][size=1.45em]Switched to WYSIWYG, I'm typing now some text.[/size][/u]

[size=4]another line[/size]
WYSIWYG on => WYSIWYG off, the final code is:
Code: [Select]
[u][size=1.45em]Switched to WYSIWYG, I'm typing now some text.[/size][/u]

[/size][size=4]another line[/size][size=1.45em]
It seems to happen only with the "u" tag.

« Last Edit: November 13, 2011, 04:22:11 PM by emanuele »
Tags2.1
Attached Files

- Relationships

-  Notes
(0014260)
Antechinus (SMF Friend)
2011-11-22 16:15

Question: is there any point in worrying about this? The almost unanimous opinion seems to be that we should throw this editor away and use an existing third party one in future versions of SMF.
(0014343)
emanuele (Developer)
2012-02-01 17:39

Commented on the forum due to lack of code tag here :P
http://www.simplemachines.org/community/index.php?topic=377885.msg3266291#msg3266291 [^]
(0014359)
Spuds (SMF Friend)
2012-02-18 12:15

Revision: 53445a0f08e448b40ae806d363b72bcc7315f6d8

! Font size in WYSIWYG editor not in pt first part of bug 4890

Modified : Sources/Subs-Editor.php
MantisBT 1.2.8 (Modified)[^] Copyright © 2000 - 2010 Mantis Group