Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text between dwplugin is doubbled when editing #212

Open
GordonMoeller opened this issue Feb 19, 2025 · 0 comments
Open

Text between dwplugin is doubbled when editing #212

GordonMoeller opened this issue Feb 19, 2025 · 0 comments
Labels

Comments

@GordonMoeller
Copy link

GordonMoeller commented Feb 19, 2025

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.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant