Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

December 08, 2021, 05:28:10 AM

Login with username, password and session length
Members
  • Total Members: 3831
  • Latest: pulgoki
Stats
  • Total Posts: 192617
  • Total Topics: 21020
  • Online Today: 152
  • Online Ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 1
Guests: 85
Total: 86

Author Topic: Article problems  (Read 1725 times)

0 Members and 1 Guest are viewing this topic.

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3168
    • Tiny Pix... Free Image Hosting and Sharing.
Article problems
« on: September 18, 2021, 09:12:31 AM »
Any one notice when writing an article the line spacing changes ie. line breaks get wider.
Its only apparent when viewing the draft, ok when published.
 
It does make it hard to edit an article

heres the same lines after its published..


Also the font face changes from paragraph to paragraph. ::)

You can see the difference here in the font..



The one above has changed to wider spacing even though I have made no changes..



This has happened on a live site and a test site

both running TinyPortal 2.1.0 and SMF 2.1 RC4
Please don't PM me for support without an invitation.


Online tino

  • Developer
  • *
  • Posts: 2396
Re: Article problems
« Reply #1 on: September 18, 2021, 09:41:48 AM »
Are you typing in the editor or copy and pasting the text in?

Also are these old articles from the previous editor pre TinyPortal V1.5.0?

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3168
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Article problems
« Reply #2 on: September 18, 2021, 10:17:57 AM »
Copy/paste and new articles
Please don't PM me for support without an invitation.


Offline @rjen

  • Support Team
  • *
  • Posts: 2973
    • FJR-club Nederland
Re: Article problems
« Reply #3 on: September 19, 2021, 01:31:17 AM »
I am not seeing that...(though I have had this with the old version of the editor)

Some more questions
- What type of article ? BBC or HTML?
- I assume the WYSIWYG editor is active?
- Where are you copying and pasting FROM?
- Perhaps you can attached the 'code' content of that article here?

I suspect the copy and past takes formatting from the source that somehow interferes...
Running TP2.1.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3168
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Article problems
« Reply #4 on: September 19, 2021, 04:19:32 AM »
Here You go :)

- What type of article ? BBC or HTML?  HTML
- I assume the WYSIWYG editor is active?  Yes
- Where are you copying and pasting FROM?   MS word, but as also happened from plain text.
- Perhaps you can attached the 'code' content of that article here?....

Code: [Select]
<p style="" class="">
<!--  StartFragment  -->
</p>
<p class="MsoNormal" style="text-align: center; line-height: normal;">
<strong><span style="font-size:24.0pt;
          font-family:&quot;Times New
          Roman&quot;,serif;mso-fareast-font-family:&quot;Times New
          Roman&quot;;
          mso-font-kerning:18.0pt;mso-fareast-language:EN-GB">The Internet seed</span></strong>
</p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;
      line-height:normal">
</p>
<div style="text-align: center;">
<span style="font-size: 12pt;">Is it real, is it true.</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Do we pretend?</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">What do we say to you?</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">It’s never an end</span>
</div>
<div style="text-align: center;">
<span style="font-size: 16px;"><br /></span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Are they true friends?</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Do we really know?</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Maybe just a trend</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Only time will show</span>
</div>
<div style="text-align: center;">
<br />
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Live our life on</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Bring our life forward</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Let the light be shown</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">We need to go onward</span>
</div>
<div style="text-align: center;">
<br />
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">We talk, we chat</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Do we know what is real?</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">This is life on the net</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">It’s how we feel</span>
</div>
<div style="text-align: center;">
<br />
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Can we trust what we see?</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Do we trust what we read?</span>
</div>
<div style="font-size: 12pt; text-align: center;">
<span style="font-size: 12pt;">Let us all be free</span>
</div>
<div style="text-align: center;">
<span style="font-size: 12pt;">To be free from the Internet seed.</span>
</div>
<!--  EndFragment  -->
<p>
<br />
</p>
Please don't PM me for support without an invitation.


Offline lurkalot

  • Administrator
  • *
  • Posts: 7334
    • Camera Craniums
Re: Article problems
« Reply #5 on: September 19, 2021, 04:30:56 AM »
Turn the editor off in article settings, then past the text into a new article and save.  Or have you already tried that?

Also, wasn't there an issue pasting stuff from Microsoft word to SMF generally. 

Offline @rjen

  • Support Team
  • *
  • Posts: 2973
    • FJR-club Nederland
Re: Article problems
« Reply #6 on: September 19, 2021, 04:50:18 AM »
Yeah, copying from Word brings across A LOT of hidden formatting. Generally not recommended
Running TP2.1.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info

Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3168
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Article problems
« Reply #7 on: September 19, 2021, 05:01:38 AM »
It seems to be ok if pasted as plain text, but I have noticed this happen when copy/pasted from a web page too, and copying text from a facebook post is really bad!

Please don't PM me for support without an invitation.


Offline Lesmond

  • Do what you have to!
  • Administrator
  • *
  • Posts: 3168
    • Tiny Pix... Free Image Hosting and Sharing.
Re: Article problems
« Reply #8 on: September 19, 2021, 05:10:20 AM »
Is it worth noting, a lot of people will be copying from word/web pages and other sources, and wont think to paste as plain text.

Heres the article, I wrote the poems myself btw :)
https://forum.my-leicester.com/index.php?page=67
Please don't PM me for support without an invitation.


Offline @rjen

  • Support Team
  • *
  • Posts: 2973
    • FJR-club Nederland
Re: Article problems
« Reply #9 on: September 19, 2021, 05:26:50 AM »
It's definately worth noting: it was noted before, but it seems to be something not easily solved... I for one have no solution for it...
Running TP2.1.0 on SMF2.0 at: www.fjr-club.nl

Testing TP on SMF2.0
Testing TP on SMF2.1 (latest Github)
Want to check what php version I am testing on? See: PHP Info