Bug in table when posting body and switching editor mode
3 posters
Page 1 of 1
Bug in table when posting body and switching editor mode
When switching the editor mode, It seems like add more new line in the editor, this post is the example:
here is the step by step screenshot at how this happen:
1.)insert the table :
2.change to BBcode mode
3.Change back
Now,you have a lot of unnecessary blank space need to edited out and remove by hand. If this changing a lot there will create more a lot blank space.
I think this bug is cause by the space here when switching the editor mode:
here is the step by step screenshot at how this happen:
1.)insert the table :
2.change to BBcode mode
3.Change back
Now,you have a lot of unnecessary blank space need to edited out and remove by hand. If this changing a lot there will create more a lot blank space.
I think this bug is cause by the space here when switching the editor mode:
Re: Bug in table when posting body and switching editor mode
Hey @zims,
As far as I'm know this is not a "bug" from Forumotion and yes by SCEditor so there is no current solution,there is a kind of shortcut that was created to remove spaces but the forums Forumotion don't have. One trick you can use to fix it is to create a class to remove all line breaks:
in CSS
in table
see that the CSS code can be improved is just an idea
As far as I'm know this is not a "bug" from Forumotion and yes by SCEditor so there is no current solution,
in CSS
- Code:
.table-nobr br {
display: none;
}
in table
- Code:
[table class="table-nobr"][tr][td][/td][/tr][/table]
see that the CSS code can be improved is just an idea
Re: Bug in table when posting body and switching editor mode
pedxz wrote:Hey @zims,
As far as I'm know this is not a "bug" from Forumotion and yes by SCEditor so there is no current solution,there is a kind of shortcut that was created to remove spaces but the forums Forumotion don't have. One trick you can use to fix it is to create a class to remove all line breaks:
in CSS
- Code:
.table-nobr br {
display: none;
}
in table
- Code:
[table class="table-nobr"][tr][td][/td][/tr][/table]
see that the CSS code can be improved is just an idea
I'm quite sure it's a bug, and not related with SCEditor .
here is the website for SCEditor and github for it:
https://github.com/samclarke/SCEditor
https://www.sceditor.com/
they don't seem like having any problem, as showed by the image below, and you can try it your self:
The css is a work around, however, telling every members to compromise and change their posting steps for a bug that not supposed to happen do not make sense for me.
I'm more inclined to believe that the way this happen is when customizing the SCE editor, Forumotion decide to add an Enter to make it look better when reading BBcode, but overlook this may happen.
Re: Bug in table when posting body and switching editor mode
https://github.com/samclarke/SCEditor/issues/356I'm quite sure it's a bug, and not related with SCEditor
https://github.com/samclarke/SCEditor/issues/294
So:
If the <br> is the last child of a block and the previous sibling is inline, then the <br> will be collapsed in all browsers except from IE < 11. In order for the new line to show there needs to be two <br> elements.
The code to do this is already in the editor so adding an option to enable it for all blocks shouldn't be too difficult.
You're right, it should really have consistent behaviour. I'm just not sure which, if any, should be the default.
Maybe the best solution is to have an option like CKEditor so you can choose between the default browser behaviour, newlines or blocks. It shouldn't be too difficult implement or increase the code size as the code to do it's already there.
Possibly there was some update to fix thisthey don't seem like having any problem, as showed by the image below, and you can try it your self:
Re: Bug in table when posting body and switching editor mode
For now Forumotion don't seems to have these 2 problem:
It only happen when table is involve....
However, I think we can agree that this is an issues that need to be solved and already have solution lying around.Possibly there was some update to fix this
Re: Bug in table when posting body and switching editor mode
This is a known issue that has been here since we started using this editor.
There is a topic somewhere that has a code that fixes the formatting of the editor. I will try to locate it for you.
Try This: https://help.forumotion.com/t135105-correct-the-formatting-of-the-new-editor-in-source-code-mode#909385
There is a topic somewhere that has a code that fixes the formatting of the editor. I will try to locate it for you.
Try This: https://help.forumotion.com/t135105-correct-the-formatting-of-the-new-editor-in-source-code-mode#909385
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: Bug in table when posting body and switching editor mode
SLGray wrote:This is a known issue that has been here since we started using this editor.
There is a topic somewhere that has a code that fixes the formatting of the editor. I will try to locate it for you.
Try This: https://help.forumotion.com/t135105-correct-the-formatting-of-the-new-editor-in-source-code-mode#909385
Tried, seems like not work for ModernBB.
Or, I'm doing it wrong some where.
Similar topics
» Editor Mode
» Full mode posting not working ?
» posting body
» Can't use easy editor mode in homepage message box?
» Margin in Posting Body Problems
» Full mode posting not working ?
» posting body
» Can't use easy editor mode in homepage message box?
» Margin in Posting Body Problems
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum