# Edit html code from Microsoft Word

**URL:** <https://forums.realmacsoftware.com/t/edit-html-code-from-microsoft-word/15644>\
**Category:** RapidWeaver Classic\
**Created:** [August 8, 2017, 10:00pm UTC](https://forums.realmacsoftware.com/t/edit-html-code-from-microsoft-word/15644 "2017-08-08T22:00:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jfd100](https://avatars.discourse-cdn.com/v4/letter/j/a9a28c/32.png) [@jfd100](https://forums.realmacsoftware.com/u/jfd100)\
**Post date:** [August 8, 2017, 10:00pm UTC](https://forums.realmacsoftware.com/t/edit-html-code-from-microsoft-word/15644/1 "2017-08-08T22:00:48Z")

</div>

I’ve pasted a Word document into a RapidWeaver Styled sheet. I’d like to “clean up” the code that Word created, eliminate some of the line breaks , for example. I can open the page in Source view and see the code while in Edit mode in RW, but I can’t seem to edit or make changes in the code. I know this is a novice question, and a bunch of you will have ready answers for which I am grateful in advance.

---

<div class="post-metadata">

**Author:** ![swilliam](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/swilliam/32/14799_2.png) [@swilliam](https://forums.realmacsoftware.com/u/swilliam)\
**Post date:** [August 8, 2017, 10:05pm UTC](https://forums.realmacsoftware.com/t/edit-html-code-from-microsoft-word/15644/2 "2017-08-08T22:05:06Z")

</div>

Normally, you would paste the text in, highlight it and clear the formatting, then format within RW.

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [August 8, 2017, 10:22pm UTC](https://forums.realmacsoftware.com/t/edit-html-code-from-microsoft-word/15644/3 "2017-08-08T22:22:07Z")

</div>

You can also paste as plain text from the edit menu `option+command+V`. If the word document has already been copied, you can select it (highlight) cut it (command+x) and paste as plain text (command+option+v).

---

<div class="post-metadata">

**Author:** ![peterdanckwerts](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/peterdanckwerts/32/22443_2.png) [@peterdanckwerts](https://forums.realmacsoftware.com/u/peterdanckwerts)\
**Post date:** [August 9, 2017, 10:49am UTC](https://forums.realmacsoftware.com/t/edit-html-code-from-microsoft-word/15644/4 "2017-08-09T10:49:40Z")

</div>

@swilliam and @teefers are right. Word’s HTML code is so messy that you’re much better just copying the plain text and then adding formatting.
