# Whitespace in stacks textfield in edit-mode

**URL:** <https://forums.realmacsoftware.com/t/whitespace-in-stacks-textfield-in-edit-mode/40177>\
**Category:** RapidWeaver Classic\
**Created:** [July 31, 2021, 1:41pm UTC](https://forums.realmacsoftware.com/t/whitespace-in-stacks-textfield-in-edit-mode/40177 "2021-07-31T13:41:49Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sitebuilder](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@sitebuilder](https://forums.realmacsoftware.com/u/sitebuilder)\
**Post date:** [July 31, 2021, 1:41pm UTC](https://forums.realmacsoftware.com/t/whitespace-in-stacks-textfield-in-edit-mode/40177/1 "2021-07-31T13:41:49Z")

</div>

I have a text stack in which I only put an iframe but in edit-mode there is a lot of whitespace preceding it. In viewmode it looks good, that whitespace is not there but in edit mode I cannot remove it and it is uncomfortable to work with. If I want to edit the stack, then the whitespace is underneath the iframe text weirdly enough.

 ![Schermafbeelding 2021-07-31 om 15.16.10](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/0/f/0f6dd865b9c8b6bceafa68b09e242605b87f2a16.png)

---

<div class="post-metadata">

**Author:** ![joemart1951](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joemart1951/32/1193_2.png) [@joemart1951](https://forums.realmacsoftware.com/u/joemart1951)\
**Post date:** [July 31, 2021, 2:19pm UTC](https://forums.realmacsoftware.com/t/whitespace-in-stacks-textfield-in-edit-mode/40177/2 "2021-07-31T14:19:20Z")

</div>

Why did you put an iFrame in a text box…why not just a iFrame?

---

<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:** [July 31, 2021, 2:35pm UTC](https://forums.realmacsoftware.com/t/whitespace-in-stacks-textfield-in-edit-mode/40177/3 "2021-07-31T14:35:36Z")

</div>

You can use a stack made to embed.  
@willwood has a free one

> **[Embed stack for RapidWeaver](https://stacks4stacks.com/embed/index.php)**
>
> Reliably embed various content types in RapidWeaver websites, without complicated code or expensive stacks!

Or at minimum put it in an HTML stack.

I never use text stack(styled text) for much of anything.

Learn markdown. The code it produces is much cleaner HTML.

---

<div class="post-metadata">

**Author:** ![joeworkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joeworkman/32/23780_2.png) [@joeworkman](https://forums.realmacsoftware.com/u/joeworkman)\
**Post date:** [July 31, 2021, 2:42pm UTC](https://forums.realmacsoftware.com/t/whitespace-in-stacks-textfield-in-edit-mode/40177/4 "2021-07-31T14:42:20Z")

</div>

I don’t know what code you are trying to insert but you should probably be using the HTML stack.

The reason that you see that frame block is that Stacks disabled certain HTML from being displayed in edit mode for performance reasons.

---

<div class="post-metadata">

**Author:** ![sitebuilder](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@sitebuilder](https://forums.realmacsoftware.com/u/sitebuilder)\
**Post date:** [July 31, 2021, 5:24pm UTC](https://forums.realmacsoftware.com/t/whitespace-in-stacks-textfield-in-edit-mode/40177/5 "2021-07-31T17:24:14Z")

</div>

Thank you for the answers. I used a text stack because it was the easiest. I am changing now everything to use the embed stack. It’s a learning process I guess. If you are used to simplistic Wordpress, you don’t think about all the possibilities.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [August 31, 2021, 3:24am UTC](https://forums.realmacsoftware.com/t/whitespace-in-stacks-textfield-in-edit-mode/40177/6 "2021-08-31T03:24:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
