"Auto-correct" when editing post
4 posters
Page 1 of 1
"Auto-correct" when editing post
This is my forum: http://gskvn.forumvi.com/
Somehow I have been encountering a weird problem: A simple formatted post can be ruined by simply clicking on "Edit". A formatted text as basic as
when revised, would somehow turn into
This problem is annoying, because our users are forced to hesitate whenever they want to edit a formatted post. The problem quickly went from annoying to pure destructive in long and complex post, which has been greatly hindering our effort.
I haven't use any custom script in my forum yet.
As a result, I would like to know whether this problem is about Forumotion or SCEditor or something else? And how it could be solved?
Any help would be appreciated.
Somehow I have been encountering a weird problem: A simple formatted post can be ruined by simply clicking on "Edit". A formatted text as basic as
- Code:
[size=24][color=#FF0000][center]ABCXYZ[/center][/color][/size]
when revised, would somehow turn into
- Code:
[center]ABCXYZ[/center]
This problem is annoying, because our users are forced to hesitate whenever they want to edit a formatted post. The problem quickly went from annoying to pure destructive in long and complex post, which has been greatly hindering our effort.
I haven't use any custom script in my forum yet.
As a result, I would like to know whether this problem is about Forumotion or SCEditor or something else? And how it could be solved?
Any help would be appreciated.
Last edited by Lauqe Rm on June 16th 2016, 1:53 pm; edited 1 time in total
Re: "Auto-correct" when editing post
Are you switching modes: normal and WYSIWYG?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: "Auto-correct" when editing post
No I'm not, I keep using normal mode all the time.
-----
Besides when I write my post in normal mode and press switch button, that problem happend too.
-----
Besides when I write my post in normal mode and press switch button, that problem happend too.
Re: "Auto-correct" when editing post
Are you manually adding the BBCode or using the buttons in the editor? Does this happen in all browsers?
It does look like you are switching the modes, because switching them will remove some formatting.
It does look like you are switching the modes, because switching them will remove some formatting.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: "Auto-correct" when editing post
The problem happend either when I use the button or manually write the code myself.
All I do is write the post, posting it, and when I press the edit button everything is gone.
All I do is write the post, posting it, and when I press the edit button everything is gone.
Re: "Auto-correct" when editing post
Do you have the WYSIWYG mode set to default? If you do, do you switch to normal mode before posting a post or editing a post?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: "Auto-correct" when editing post
No, the default mode in the editor is normal mode. And when I post or edit a post its mode is normal mode, too.
----------
I have try another type of format, and I figured out that the problem only happend when "center" tag is inside another tag. For example:
----------
I have try another type of format, and I figured out that the problem only happend when "center" tag is inside another tag. For example:
- Code:
[b][size=18][color=#ff0000][center]abcdee[/center][/color][/size][/b]
- Code:
[center]abcdee[/center]
- Code:
[center][b][size=18][color=#ff0000]abcdee[/color][/size][/b][/center]
Re: "Auto-correct" when editing post
I just remembered that it does matter the order of the BBCode tags.
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: "Auto-correct" when editing post
Yeah... But it seems that this forum dont have this problem at all, its display normally no matter what order I use, is there a difference in the two forums?
Is there a solution at the "universal" level, that does not involve making every user remember the correct order of tags?
Is there a solution at the "universal" level, that does not involve making every user remember the correct order of tags?
Re: "Auto-correct" when editing post
The reason this occurs is because the SCEditor is attempting to correct your tag placement. The color and size tags are inline elements, and the center tag is a block-level element. Inline elements cannot contain block-level elements, hence the hackish correction. I'd recommend installing the following script from the tutorial below on your forum to override these corrections, because they're more bothersome than helpful.
https://help.forumotion.com/t135105-correct-the-formatting-of-the-new-editor-in-source-code-mode
https://help.forumotion.com/t135105-correct-the-formatting-of-the-new-editor-in-source-code-mode
Re: "Auto-correct" when editing post
That is exactly what I needed. Thank you very much!
My problem is solved.
My problem is solved.
Re: "Auto-correct" when editing post
Problem solved & topic archived.
|
Similar topics
» Strange problem with post editing
» Time limit for editing a post
» Auto Application Post
» Post editing question
» Auto Save Post In Progress
» Time limit for editing a post
» Auto Application Post
» Post editing question
» Auto Save Post In Progress
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum