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
323 stars 214 forks source link

blockquote in tinymce is not supported for bootstrap4 and bootstrap5 #4707

Open Jimmi08 opened 2 years ago

Jimmi08 commented 2 years ago

Bug Description

this image

is supported on in bootstrap3 themes and it is managed by tinymce itself

HTML output is

<blockquote>normal</blockquote>
<blockquote class="blockquote-alt blockquote__alternative">alternative</blockquote>

But full bootstrap4 markup is:

<blockquote class="blockquote">
  <p class="mb-0">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
  <footer class="blockquote-footer">Someone famous in <cite title="Source Title">Source Title</cite></footer>
</blockquote>

And full bootstrap5 markup is:

<figure>
  <blockquote class="blockquote">
    <p>A well-known quote, contained in a blockquote element.</p>
  </blockquote>
  <figcaption class="blockquote-footer">
    Someone famous in <cite title="Source Title">Source Title</cite>
  </figcaption>
</figure>

How to Reproduce

Steps to reproduce the behavior:

  1. Go to news and use this functionality

Expected Behavior

at least adding blockquote class to the default version

PHP Operating System

PHP 7.4. e107 2.3.1 stable

Additional Information

Maybe a better idea is to change this to BBCode shortcode and let e107 manage this, not tinymce.

Thanks

CaMer0n commented 2 years ago

There is currently no "Bootstrap Blockquote" section (specific to Bootstrap) in the drop-down.