# Editing text in page view does not work properly for file located in subfolder

**URL:** <https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039>\
**Category:** Editing\
**Created:** [May 29, 2019, 2:20pm UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039 "2019-05-29T14:20:58Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgrabowski](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dgrabowski](https://forum.pinegrow.com/u/dgrabowski)\
**Post date:** [May 29, 2019, 2:20pm UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/1 "2019-05-29T14:20:58Z")

</div>

In my project, I have put some HTML files in a subfolder. When I open such a file in page view, text editing does not work correctly.

1. On page view, I select a paragraph, ant the blue border and menu appear,
2. I click the “Edit text” menu icon and position the insertion mark in the text (here: in front of the word “Termin”, see edit-1.png).
3. I type “x”; the “x” does not appear in the position of the insertion mark but a few characters further left (edit-2.png).
4. I position the insertion mark to the right of the misplaced “x” and press backspace to delete the “x”, but instead the whole paragraph text is gone.  
I press CMD-Z for undo and the text is restored twice (edit-3.png).

I’m working on Windows 7 64bit with Pinegrow 5.41 PRO Personal.

 ![edit-1](https://canada1.discourse-cdn.com/flex036/uploads/pinegrow/original/2X/8/895c02bfd0765342daeb1696ee9530d411f119ba.png)

PS: I tried to attach more screenshots, but I get an error message saying “Sorry, new users can only put one image in a post.” ☹

---

<div class="post-metadata">

**Author:** ![Terry44](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/terry44/32/175_2.png) [@Terry44](https://forum.pinegrow.com/u/Terry44)\
**Post date:** [May 30, 2019, 3:53am UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/2 "2019-05-30T03:53:28Z")

</div>

You would have to show your code of the html. Make sure all the reference link to the CSS, Images, Javascript are correctly written.

---

<div class="post-metadata">

**Author:** ![dgrabowski](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dgrabowski](https://forum.pinegrow.com/u/dgrabowski)\
**Post date:** [May 30, 2019, 11:32am UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/3 "2019-05-30T11:32:03Z")

</div>

Hi Terry44,  
I tried to attached the HTML of the web page to this reply, but files with the .html extension are not permitted.  
How should I submit the code? Should I copy/paste the whole HTML into this window??

Regards,  
Detlef

---

<div class="post-metadata">

**Author:** ![Printninja](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/printninja/32/1181_2.png) [@Printninja](https://forum.pinegrow.com/u/Printninja)\
**Post date:** [May 30, 2019, 6:03pm UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/4 "2019-05-30T18:03:12Z")

</div>

You can paste HTML code and maintain the formatting by clicking the \</\> icon and pasting it in between the two little quote type characters (not sure what they’re called.)

---

<div class="post-metadata">

**Author:** ![dgrabowski](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dgrabowski](https://forum.pinegrow.com/u/dgrabowski)\
**Post date:** [May 31, 2019, 3:57pm UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/7 "2019-05-31T15:57:07Z")

</div>

Thanks for the advice, Printninja,

I did as you told me but received the error message

" Our automated spam filter, [Akismet](https://akismet.com/), has temporarily hidden your post in _Editing text in page view does not work properly for file located in subfolder_ for review."

So I don’t know when the code will be available to you.

Greets  
Dtlef

---

<div class="post-metadata">

**Author:** ![Marf](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/marf/32/1799_2.png) [@Marf](https://forum.pinegrow.com/u/Marf)\
**Post date:** [May 31, 2019, 4:45pm UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/8 "2019-05-31T16:45:22Z")

</div>

@dgrabowski  
You can better put the page/files online on your webspace/server, and post a link to the page! 😇

---

<div class="post-metadata">

**Author:** ![dgrabowski](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dgrabowski](https://forum.pinegrow.com/u/dgrabowski)\
**Post date:** [May 31, 2019, 5:32pm UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/9 "2019-05-31T17:32:31Z")

</div>

You can access the file via

[http://www.detbert.de/ws/mitglieder/aktuelles.html](http://www.detbert.de/ws/mitglieder/aktuelles.html)

Cheers,  
Detlef

---

<div class="post-metadata">

**Author:** ![Marf](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/marf/32/1799_2.png) [@Marf](https://forum.pinegrow.com/u/Marf)\
**Post date:** [May 31, 2019, 6:06pm UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/10 "2019-05-31T18:06:20Z")

</div>

@dgrabowski  
On your screenshot I noticed that you had activated **“Test clicks”**.  
That could probably be the reason for your issues!

See this page, **Section 3 - Test Clicks** :

> **[Tools & Helpers | Pinegrow Web Editor](https://pinegrow.com/docs/master-pinegrow/tools-helpers/)**
>
> Pinegrow contains many helpers and tools that can make you even more productive.

---

<div class="post-metadata">

**Author:** ![dgrabowski](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dgrabowski](https://forum.pinegrow.com/u/dgrabowski)\
**Post date:** [May 31, 2019, 6:14pm UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/11 "2019-05-31T18:14:42Z")

</div>

I’m afraid that’s not the reason for the strange behaviour. How it came that “Test clicks” is activated on the screenshot I don’t know. But I retested the behaviour and made sure that “Test clicks” is OFF. The error persists.

---

<div class="post-metadata">

**Author:** ![Printninja](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/printninja/32/1181_2.png) [@Printninja](https://forum.pinegrow.com/u/Printninja)\
**Post date:** [June 1, 2019, 1:19am UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/12 "2019-06-01T01:19:45Z")

</div>

I can confirm the strange behavior. It seems to be related to something in your CSS stylesheet named wortschatzstyles.css. Disabling the link to this stylesheet eliminates the issue.

---

<div class="post-metadata">

**Author:** ![dgrabowski](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dgrabowski](https://forum.pinegrow.com/u/dgrabowski)\
**Post date:** [June 1, 2019, 11:00am UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/13 "2019-06-01T11:00:04Z")

</div>

I experimented a bit more:

1. Contrary to my original assumption, this behaviour is not only seen in files located in subfolders. I saw the behaviour also in index.html, which resides in the project folder.
2. The behavior is linked to the HTML tag. Editing a 
# tag works fine, editing the content of

tags shows the described behavior. But it seems to depend on the class of the surrounding

.

---

<div class="post-metadata">

**Author:** ![dgrabowski](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dgrabowski](https://forum.pinegrow.com/u/dgrabowski)\
**Post date:** [June 1, 2019, 11:39am UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/14 "2019-06-01T11:39:08Z")

</div>

I think I got the culprit. In wortschatzstyles.scss, I disabled (commented out) the rule

p:first-letter {  
font-size: 125%;  
}  
and editing html docs works OK.

---

<div class="post-metadata">

**Author:** ![Printninja](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/printninja/32/1181_2.png) [@Printninja](https://forum.pinegrow.com/u/Printninja)\
**Post date:** [June 1, 2019, 4:23pm UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/15 "2019-06-01T16:23:18Z")

</div>

This seems like a legit bug in PG. I’d report it.

---

<div class="post-metadata">

**Author:** ![dgrabowski](https://avatars.discourse-cdn.com/v4/letter/d/e480ec/32.png) [@dgrabowski](https://forum.pinegrow.com/u/dgrabowski)\
**Post date:** [June 1, 2019, 5:35pm UTC](https://forum.pinegrow.com/t/editing-text-in-page-view-does-not-work-properly-for-file-located-in-subfolder/3039/16 "2019-06-01T17:35:19Z")

</div>

Yes, thats what I think, too.  
I’ll report a bug. Thanks for your help!

Regards  
Detlef
