e107inc / e107

e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
https://e107.org
GNU General Public License v3.0
318 stars 212 forks source link

e107 doesn't allow images inside tinymce table #3436

Open Jimmi08 opened 5 years ago

Jimmi08 commented 5 years ago

not latest version, if it can be related

I am trying to insert external images (not using Media Manager)

It looks like this before saving: (so tinymce doesn't problem) image

html code (part of page)

<table class="table table-striped table-bordered" style="width: 100%; border-collapse: collapse;">
<tbody>
<tr>
<td style="width: 50%;">LIGHT VERSION</td>
<td style="width: 50%;">DARK VERSION</td>
</tr>
<tr>
<td style="width: 50%;">[img width=0&title=24d248ff0105]https://user-images.githubusercontent.com/5429548/45623504-d9123300-ba87-11e8-95c2-24d248ff0105.png[/img]</td>
<td style="width: 50%;">[img width=0&title=04b87fafcd91]https://user-images.githubusercontent.com/5429548/45623657-576ed500-ba88-11e8-9591-04b87fafcd91.png[/img]</td>
</tr>
</tbody>
</table>

neither manual changing width or removing it didn't help.

After switching to bbcodes I could change width and it stayed saved.

CaMer0n commented 5 years ago

And if you remove width=0 ?

Jimmi08 commented 5 years ago

Yes, and changing it to other value too. It's always back.