阻止TinyMCE删除<a> Tag Joomla

时间:2017-07-06 07:37:56

标签: html tinymce

I have an issue while using Joomla CMS and TinyMCE where it deletes my tags that surround which is essential for my layout.

I tried following some advice online but nothing seems to work and there's limited instructions for Joomla.

I really appreciate it and look forward to learning about this.

Code Entered

<div class="row">
<div class="col-sm-3 ">
    <div>
        <a href="#" class="toggle">
            <div>+</div></a>
            <div class="timeline-container">
                <a href="#" class="another-toggle">
                    <div>Link</div>
                    <p>
                        Text
                    </p>
                <a/>
            </div>
        </a>
    </div>
</div>
</div>

Code After Saving

<div class="row">
  <div class="col-sm-3 ">
    <div>
      <div>+</div>
        <div class="timeline-container">
          <div>Link</div>
           <p>Text</p>
        </div>
    </div>
  </div>
</div>

1 个答案:

答案 0 :(得分:0)

我不能说除了停止使用TinyMCE编辑器之外我找到了解决方法。我选择在必要时继续使用codemirror编辑器。