Text editors

Atto + Boostrap 4 tabs + Paste | Fail

 
Just wondering . . .
Atto + Boostrap 4 tabs + Paste | Fail
Particularly helpful Moodlers

  1. Add a bit of standard BS4 tab code in Atto
  2. Try to edit by pasting in some text into a tab.  (Typing in seems to be OK)
  3. Tabs get broken.  Atto seems to remove some of the styling, as below.

Before:

<ul style="list-style: outside none none;" class="nav nav-tabs" role="tablist">
  <li class="nav-item">
    <a class="nav-link active" data-toggle="tab" href="#tab1" role="tab" aria-expanded="true">To come 1</a>
  </li>

After:

</p>
<ul role="tablist">
  <li>
    <a data-toggle="tab" href="#tab1" role="tab" aria-expanded="false">To come 1</a>
  </li>
  <li>


-Derek

 
Average of ratings: -
Just wondering . . .
Re: Atto + Boostrap 4 tabs + Paste | Fail
Particularly helpful Moodlers

I know it is really sad replying to your own post!!

Is there a moderator here who may be able to pass on this question to someone who knows?

I've also posted here: https://moodle.org/mod/forum/discuss.php?d=347860

And set up a tracker item: https://tracker.moodle.org/browse/MDL-58084

For now I have given up.  But I would be interested in knowing a little more about this.  Atto doesn't seem to work as I'd expect.  Is this just not implemented yet for Moodle 3.2 plus Boost, or is this not something Atto is supposed to do?  Or is it a bug, and sometime may bet looked at?

-Derek

 
Average of ratings: -
Just wondering . . .
Re: Atto + Boostrap 4 tabs + Paste | Fail
Particularly helpful Moodlers

A suggestion to create a video of this, so here goes:



-Derek

 
Average of ratings: -