Jump to content

Editor remove some of the HTML-tags in pictures


SN67
Followers 4

Recommended Posts

There is something wrong with the editor. If I edit the size of a picture, it removes the width/height tag next time it's saved ... Example:

 

I have three pictures,  I want to have on the same line. Therefore I edit the width for all of them: 

image.png.513e7d4a770c8b30c07f18b63fb02ddb.png

 

I hit SAVE & PREVIEW , and the result is as I want it to be:

image.png.053bc2f1037bd6473d423879d8b22d1c.png 

 

- and the HTML looks fine: 

image.png.3e219430957dd35c34f3bdeda42e4703.png

 

Now I reopen the editor to add some text (or anything else). After saving, the result is this: 

 

image.png.13ede99b336c836e9e9ebc676d066c05.png 

 

... and all the styling code is gone :(

image.png.2b5dfe2d30dd1aea5e51498a568aed02.png

 

 

((This last picture shouldn't be here! )image.png)

Edited by SN67
same picture twice
Link to comment

The WYSIWYG editor itself strips out some html. If you edit the HTML source directly and save, some of that will remain. I have to get in the habit of NOT using the inline preview with the editor, lest I lose some of the formatting I've added in HTML. I also tend to copy all the html before saving or previewing anything just in case my pretty html markup gets mangled.

Every time I edit a listing I toy with what the website will save and what it will strip away. The CSS can be hit and miss (and often expands short form standard css to individual properties, which is quite annoying)

Link to comment
58 minutes ago, thebruce0 said:

The WYSIWYG editor itself strips out some html. ...

 

I know. And I take the same precautions as you do, if I've entered some HTML myself, but in this case it is code that the WYSIWYG editor itself has generated.

  • Helpful 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Followers 4
×
×
  • Create New...