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.

Edit box changes code

5 posters

Go down

Solved Edit box changes code

Post by boffer10 April 17th 2014, 4:46 am

I've been having the problem in post edit boxes and in the AP edit boxes.  When I put in a code and click Preview, the code will display properly.  If I hit preview again, the code is changed.  It happens in multiple browsers and on multiple forums, including here.

This is a simple code that I used for several years with no problems.  It's been in the last six months or so that I've had this problem.

Code:

The first time I hit preview:

The second time I hit preview:

It's easy to duplicate: just copy/paste my code into a reply edit box.  Click Preview once, then a second time.

I've re-written the code in HTML and get the same results.  I have several different codes in my Homepage Message Box that are doing something similar when I hit the save button a second time.

Any suggestions?

Thanks

http://squarefoot.creatingforum.com/
avatar
boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

Solved Re: Edit box changes code

Post by SLGray April 17th 2014, 4:58 am

Do you have it set up where HTML is activate for the whole forum?


Edit box changes code 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 : 51569
Reputation : 3525
Language : English
Location : United States

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

Back to top Go down

Solved Re: Edit box changes code

Post by boffer10 April 17th 2014, 5:38 am

Yes, HTML is permitted in posts.
avatar
boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

Solved Re: Edit box changes code

Post by SLGray April 17th 2014, 6:15 am

For some reason it is removing this part of the code:
Code:
background="http://i62.servimg.com/u/f62/14/92/49/47/interl11.gif"

   
   


Edit box changes code 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 : 51569
Reputation : 3525
Language : English
Location : United States

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

Back to top Go down

Solved Re: Edit box changes code

Post by Pizza Boi April 17th 2014, 8:48 am

SLGray wrote:For some reason it is removing this part of the code:
Code:
background="http://i62.servimg.com/u/f62/14/92/49/47/interl11.gif"

   
   

Hi Very Happy

Following his post, why don't you try implementing it in the style area instead? You can do something like:

Code:
style="background-image:url(img link here);"

If that doesn't work, re-upload the picture in another server.

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Solved Re: Edit box changes code

Post by boffer10 April 17th 2014, 4:33 pm

It appears that putting background image in style might be the answer for this code. I'll play with the other codes more tonight. Thanks. (Not completely solved yet!)
avatar
boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

Solved Re: Edit box changes code

Post by Michael_vx April 17th 2014, 5:53 pm

the only thing i can say is
dont preview just send after add the code and make your own change
and dont worry it will apper right as you want
Michael_vx
Michael_vx
Forumember

Male Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt

Back to top Go down

Solved Re: Edit box changes code

Post by Pizza Boi April 17th 2014, 5:58 pm

Hi Very Happy

Following what he said, just put all the styles in the Css but make sure you declare a name and do something like:

Code:
.tdesign {
  Style}

And this in the post:

Code:
[table class="tdesign"][tr][td][/td][/tr][/table]

Regards,
Pizza Boi
Pizza Boi
Pizza Boi
Hyperactive

Male Posts : 2016
Reputation : 160
Language : French
Location : Pizza Hut!

Back to top Go down

Solved Re: Edit box changes code

Post by Ange Tuteur April 17th 2014, 11:20 pm

Hello boffer10,

The background attribute for tables does not seem to be supported anymore by the current editor. As Pizza boi has recommended, you should use the style attribute to write your CSS styles for tables.

Ex :
Code:
[table style="background:url('http://i62.servimg.com/u/f62/14/92/49/47/interl11.gif'); width:400px; margin-left: auto; margin-right: auto;  border:1px solid black;moz-border-radius: 10px; webkit-border-radius: 10px; border-radius: 10px;"][tr][td style="width:10px;"]  [/td][td][img]http://boffers.omgforum.net/users/2011/12/68/81/avatars/2-4.gif[/img][/td][td ][center][color=black][font=verdana]Let me tell you 'bout the old days when...
we used to do our gardening on the ground![/font][/color][/center][/td][/tr][/table]
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: Edit box changes code

Post by boffer10 April 18th 2014, 2:47 am

I've tried the style attribute in several other tables that were doing the same thing, and that appears to be the fix.

Thanks for the help. This one can be marked solved.
avatar
boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

Solved Re: Edit box changes code

Post by SLGray April 18th 2014, 4:21 am

Topic Solved & Archived


Edit box changes code 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 : 51569
Reputation : 3525
Language : English
Location : United States

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

Back to top Go down

Back to top

- Similar topics

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