Skip to content

Text between dwplugin is doubbled when editing #212

@GordonMoeller

Description

@GordonMoeller

Issue Description

I use the Bootstrap3 template in Dokuwiki. On one Page I use "accordion" to have some texts collapsible. With prosemirror I get the behavior, that the text is doubled. The original text is as text, the double is in a dwplugin class. The code looks like this when viewed in the developer tools:

<pre class="dwplugin" data-pluginname="bootswrapper_panel">&lt;panel title="Anwendungsbereich"&gt;</pre>
<p>The text</p>
<code class="dwplugin" data-pluginname="bootswrapper_panel">
  ::befor
  <span> == $=0
  The text again
  </span>
  </code>

I don´t know what to look for to solve this. On other pages with other plugins that open and close the behavior is as expected without the doubling of the text.

I use Kaos with the newest plugins. I use the Bootstrap3 Template with the Bootstrap Wrapper plugin.

There is also a Mikio Template which uses Bootstrap 4, but I am not sure if I can switch easily.

(Some corrections for layout.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions