Re: Wordpress auto-incorrect'ing my pre-formatted text

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I was able to reproduce the newline deletion problem with a small document. It
seems to happen when switching back and forth between the visual editor and the
code editor:

https://send.firefox.com/download/d6327c00ee8653b4/#76fPqSenEoyPJDf_LYtEnA

I was switching between the two modes because of the hashtag deletion problem.

I think I know what to avoid now, so I guess it isn't as big of a deal, but it
is very frustrating! It would be great if you could fix this.

Thanks.

On Fri, 2019-04-05 at 14:27 -0500, Gregory Lee Bartholomew wrote:
> Sure:
> 
> https://send.firefox.com/download/57a12ed882f12447/#7rXuAQzqj6m55hCvqX3ikg
> 
> I was having a little trouble reproducing the newline deletion problem on a
> small test document. I didn't want to corrupt my current document again. Working
> in the code editor view seems to work-around the newline deletion problem, so I
> will be content with that for now.
> 
> You can look at my revision history to see where all the newlines were deleted
> in my mirror-your-system-drive article.
> 
> Thanks.
> 
> On Fri, 2019-04-05 at 14:58 -0400, Paul Frields wrote:
> > I can't reproduce this when I made a new article and pasted in text. I
> > made a block, converted it to preformatted, and pasted in text
> > including lines prefaced with # and $, and multiple newlines. When I
> > preview the article things look as expected. Can you do a screencast
> > showing the problem?
> > 
> > Paul
> > 
> > On Fri, Apr 5, 2019 at 11:31 AM Gregory Lee Bartholomew
> > <gregory.lee.bartholomew@xxxxxxxxx> wrote:
> > > Hi Paul:
> > > 
> > > I'm having a bit of a hard time with the new Wordpress editor. It keeps auto-
> > > removing all the newlines in my pre-formatted text. It also removes the leading
> > > # from lines that I past into the pre-formatted block. I tried using the code
> > > tag instead, but that has problems rendering angle brackets (using the ASCII
> > > character gives an error and the HTML escape codes don't get translated).
> > > 
> > > I think disabling auto-correction in pre-formatted text blocks would be the best
> > > option. A quick google search seems to suggest that it is possible to do:
> > > 
> > > https://www.webhostinghero.com/blog/preserve-line-breaks-and-formatting-in-wordpress/
> > > 
> > > Would you mind looking into this?
> > > 
> > > Thanks.
> > > 
> > > --
> > > Gregory Lee Bartholomew
> > > PGP Key ID: 3B67510E
> > > 
> 
> 

_______________________________________________
Fedora Magazine mailing list -- magazine@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to magazine-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/magazine@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Devel]     [EPEL Announce]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [ET Management Tools]     [Yum Users]     [Fedora Art]     [Fedora ARM]

  Powered by Linux