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

WP-shortcodes in wp-editor gets extra markup #2311

Open
danyj opened this issue Jan 10, 2017 · 4 comments
Open

WP-shortcodes in wp-editor gets extra markup #2311

danyj opened this issue Jan 10, 2017 · 4 comments
Assignees
Labels

Comments

@danyj
Copy link
Contributor

danyj commented Jan 10, 2017

@andreiglingeanu Use any shortcode in pagebuilder that has textarea, in your textarea add this


<div class="something">
	<div class="something">
    	something
    </div>
</div>
<div class="something">
	<div class="something">
    	something
    </div>
</div>
<div class="something">
	<div class="something">
    	something
    </div>
</div>

Save your page , reopen the shortcode, output should be as you see it
http://prntscr.com/dtsbcw

Now , use any shortcode that has wp-editor option type with shortcodes enabled

add the shortcode with textarea inside the wp-editor

http://prntscr.com/dtsatv

save it , reopen the shortcode and above markup comes back with brakes
http://prntscr.com/dtsb3z

<div class="something"><br />
	<div class="something"><br />
    	something<br />
    </div><br />
</div><br />
<div class="something"><br />
	<div class="something"><br />
    	something<br />
    </div><br />
</div><br />
<div class="something"><br />
	<div class="something"><br />
    	something<br />
    </div><br />
</div>

@andreiglingeanu
Copy link
Collaborator

Thanks for reproduction. Will check that out.

@danyj
Copy link
Contributor Author

danyj commented Mar 17, 2017

@andreiglingeanu any solution for this?

@danyj
Copy link
Contributor Author

danyj commented Oct 25, 2017

@andreiglingeanu waiting for fix please respond

@osbulbul
Copy link

osbulbul commented Oct 3, 2020

Is this problem still happening?

It looks too old and not happening anymore. But if you can still replicate, please let me know and I will try to solve it.

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

3 participants