The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Pressing Edit and my codes are disappears.

4 posters

Go down

Solved Pressing Edit and my codes are disappears.

Post by hub77 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)
avatar
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 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.
Derri
Derri
Helper
Helper

Male Posts : 8711
Reputation : 638
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 July 30th 2014, 8:38 pm

Yes its my problem. Ok than, thank you for answering.
avatar
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 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.
Derri
Derri
Helper
Helper

Male Posts : 8711
Reputation : 638
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 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]

Pressing Edit and my codes are disappears. 111
Pressing Edit and my codes are disappears. 210

Pressing Edit and my codes are disappears. 1110
Pressing Edit and my codes are disappears. 2210
avatar
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 July 31st 2014, 4:19 am

Are you using WYSIWYG mode?


Pressing Edit and my codes are disappears. Slgray10

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

Male Posts : 51554
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

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

Doesn't matter. I open it, same again.
avatar
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 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.


Pressing Edit and my codes are disappears. Slgray10

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

Male Posts : 51554
Reputation : 3524
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

Post by Ange Tuteur 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.
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Pressing Edit and my codes are disappears.

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

Thank you for code, it is solved.
avatar
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 July 31st 2014, 5:15 pm

You're welcome

Topic archived

Have a good day. Smile
Ange Tuteur
Ange Tuteur
Forumaster

Male Posts : 13207
Reputation : 3000
Language : English & 日本語
Location : Pennsylvania

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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