The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Pressing Edit and my codes are disappears.

Go down

Solved Pressing Edit and my codes are disappears.

Post by hub77 on July 30th 2014, 7:52 pm

Hi, when i edit a post, my codes (color, code, spoiler, list... all of them) are disappears. Can i back to the old message box? Or can i fix this with a CSS Code?


Last edited by hub77 on July 31st 2014, 4:04 pm; edited 1 time in total (Reason for editing : Solved)

hub77
New Member

Posts : 17
Reputation : 2
Language : english

http://atesokurpg.forumotion.com

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by Derri on July 30th 2014, 8:10 pm

The positioning of the tags seems to very important to the editor.

For example this line:
Code:
[b][color=#7CBA2C]Your Name on the board:[/b][/color] Information here[/b]

Causes the editor to react because the bold tags are seen as 'wrong' on the editor. The editor will try to correct this as it sees a fault but in fact it isn't a fault.

If I corrected it so it looked like this:

Code:
[color=#7CBA2C][b]Your Name on the board:[/b][/color] Information here[/b]

I get no problems

So tag positioning is very important.

Its the same if you tried to create a list like this

Code:
[List]

[/list]

Since it doesn't actually detect a list because it doesn't have this [*] then its seen as an error and will try and correct it but it usually just causes problems.

Its not actually a bug. I've reported these issues and the technicians said that's how the editor is suppose to work. So we can't actually do anything.


Forum Rules : : Forumotion Staff : : Appeal A Warning : : FAQ : : Tips & Tricks : : Forgotten Password/Login Issues
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

avatar
Derri
Administrator
Administrator

Male Posts : 8688
Reputation : 620
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by hub77 on July 30th 2014, 8:38 pm

Yes its my problem. Ok than, thank you for answering.

hub77
New Member

Posts : 17
Reputation : 2
Language : english

http://atesokurpg.forumotion.com

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by Derri on July 30th 2014, 8:40 pm

If you'd like you could PM me or post here the order the BBcode is put in and then I can see if we can see a way around fixing it.


Forum Rules : : Forumotion Staff : : Appeal A Warning : : FAQ : : Tips & Tricks : : Forgotten Password/Login Issues
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

avatar
Derri
Administrator
Administrator

Male Posts : 8688
Reputation : 620
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by hub77 on July 31st 2014, 2:43 am

my problem is this:
i write codes as i always do. when i click the edit button all codes go away. and this is just happening on my site.

For Example:

Code:
[list][size=10][color=silver]Message[/color][/size][/list]

Code:
[list]A[/list]
[list]B[/list]
[list]C[/list]






hub77
New Member

Posts : 17
Reputation : 2
Language : english

http://atesokurpg.forumotion.com

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by SLGray on July 31st 2014, 4:19 am

Are you using WYSIWYG mode?


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 41933
Reputation : 2883
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by hub77 on July 31st 2014, 4:23 am

Doesn't matter. I open it, same again.

hub77
New Member

Posts : 17
Reputation : 2
Language : english

http://atesokurpg.forumotion.com

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by SLGray on July 31st 2014, 4:38 am

Sorry, but that is how the editor is set up to work.  You will have to re-enter some BBCoding when you edit a post.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 41933
Reputation : 2883
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by Ange Tuteur on July 31st 2014, 6:28 am

Hi hub77,

Please try the following :
Administration Panel > Modules > JavaScript Codes Management > Create a new script

Title : Your choice
Placement : In all the pages
Paste the following code and submit :
Code:
$(function() {
  var a = $("#text_editor_textarea"), t;
  a.length && (t = a.val()) && $(function() {
    a.sceditor && a.sceditor("instance") && a.sceditor("instance").val(t);
  });
});

This *should* stop corrections from the editor.
avatar
Ange Tuteur
Forumaster

Male Posts : 13187
Reputation : 2895
Language : EN10, FR5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by hub77 on July 31st 2014, 2:28 pm

Thank you for code, it is solved.

hub77
New Member

Posts : 17
Reputation : 2
Language : english

http://atesokurpg.forumotion.com

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by Ange Tuteur on July 31st 2014, 5:15 pm

You're welcome

Topic archived

Have a good day. Smile
avatar
Ange Tuteur
Forumaster

Male Posts : 13187
Reputation : 2895
Language : EN10, FR5
Location : Macungie, PA

https://github.com/SethClydesdale

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum