# How can i keep html custom tags without create node?

**URL:** https://discuss.prosemirror.net/t/how-can-i-keep-html-custom-tags-without-create-node/3172
**Category:** Uncategorized
**Created:** [September 23, 2020, 3:37am UTC](https://discuss.prosemirror.net/t/how-can-i-keep-html-custom-tags-without-create-node/3172 "2020-09-23T03:37:22Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![E1evenJ](https://discuss.prosemirror.net/letter_avatar_proxy/v4/letter/e/9de0a6/32.png) [@E1evenJ](https://discuss.prosemirror.net/u/E1evenJ)
#### Post date: [September 23, 2020, 3:37am UTC](https://discuss.prosemirror.net/t/how-can-i-keep-html-custom-tags-without-create-node/3172/1 "2020-09-23T03:37:22Z")

</div>

I have these html string, eg. `<p><text></text><cite></cite></p>.` I’m just create **text** node to parse dom, but not **cite** tag. Now, if i do not something, prosemirror will remove cite tag in web dom. eg. `<p><text></text></p>`. How can i keep **cite** tag?

---

<div class="post-metadata">

### Author: ![marijn](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/marijn/32/15_2.png) [@marijn](https://discuss.prosemirror.net/u/marijn)
#### Post date: [September 23, 2020, 5:45am UTC](https://discuss.prosemirror.net/t/how-can-i-keep-html-custom-tags-without-create-node/3172/2 "2020-09-23T05:45:48Z")

</div>

This is not something you’ll want to use ProseMirror for—its approach is to constrain content to match the schema. If you don’t need that, a classical HTML editor is probably more appropriate for your use case.

---

<div class="post-metadata">

### Author: ![E1evenJ](https://discuss.prosemirror.net/letter_avatar_proxy/v4/letter/e/9de0a6/32.png) [@E1evenJ](https://discuss.prosemirror.net/u/E1evenJ)
#### Post date: [September 23, 2020, 6:05am UTC](https://discuss.prosemirror.net/t/how-can-i-keep-html-custom-tags-without-create-node/3172/4 "2020-09-23T06:05:07Z")

</div>

I’m sorry that I didn’t make my requirements clear. I need ProseMirror to help me implement some custom manipulation functions, such as adding an image or styling a paragraph of text, but the text comes from an existing HTML that already has many nodes.I just need to operate on some nodes and leave the others as they are.

---

<div class="post-metadata">

### Author: ![bhl](https://discuss.prosemirror.net/user_avatar/discuss.prosemirror.net/bhl/32/4074_2.png) [@bhl](https://discuss.prosemirror.net/u/bhl)
#### Post date: [September 23, 2020, 9:07am UTC](https://discuss.prosemirror.net/t/how-can-i-keep-html-custom-tags-without-create-node/3172/5 "2020-09-23T09:07:23Z")

</div>

Try looking at this post: [Unknown Node Types](https://discuss.prosemirror.net/t/unknown-node-types/655).
