Search…

X3 Photo Gallery Support Forums

Search…
 
dirceulima
Topic Author
Posts: 16
Joined: 02 Aug 2011, 13:44

TinyMCE difference with version 2.7.5.2

17 Oct 2011, 13:45

Hello everyone!

Today i've found something different between versions 2.7.5.1 and 2.7.5.2.

Here one Html code:
Code
<p>teste</p><ul><li>a</li><li>b</li><li>c</li><li>e</li></ul>
Looking into version 5.1:
Image

But when i try paste the same Html code, TinyMCE save with Html structure / spaces:
Code
<p>teste</p>
<ul>
<li>a</li>
<li>b</li>
<li>c</li>
<li>e</li>
</ul>
And final result with version 5.2:
Image

Into README file, TinyMCE was updated right? how we can solve this?

Thanks
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: TinyMCE difference with version 2.7.5.2

19 Oct 2011, 03:05

That's because it reads your code with invisible line-breaks (because they are in fact invisible line-breaks) and so outputs them as line-breaks also. You may need to remove line breaks and paste the code like this:
Code
<p>teste</p><ul><li>a</li><li>b</li><li>c</li><li>e</li></ul>
 
dirceulima
Topic Author
Posts: 16
Joined: 02 Aug 2011, 13:44

Re: TinyMCE difference with version 2.7.5.2

20 Oct 2011, 16:50

Hello,

I tried this... but at the moment to save TinyMCE changes with Html structure / spaces:
Code
<p>teste</p>
<ul>
<li>a</li>
<li>b</li>
<li>c</li>
<li>e</li>
</ul>
mjau-mjau wrote:That's because it reads your code with invisible line-breaks (because they are in fact invisible line-breaks) and so outputs them as line-breaks also. You may need to remove line breaks and paste the code like this:
Code
<p>teste</p><ul><li>a</li><li>b</li><li>c</li><li>e</li></ul>

This doen't happened with version 2.7.5.1, only with this new version as i said.
 
dirceulima
Topic Author
Posts: 16
Joined: 02 Aug 2011, 13:44

Re: TinyMCE difference with version 2.7.5.2

20 Oct 2011, 16:55

Her dear friend, you can make a test:

Gallery example:
- http://SOLVED

Test page:
- http://SOLVED

Admin page:
- http://SOLVED

User: admin
Pass: admin

Try to do what you said, you will see that TinyMCE will change with Html structure / spaces.

Thanks
Last edited by dirceulima on 01 Nov 2011, 12:47, edited 1 time in total.
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: TinyMCE difference with version 2.7.5.2

25 Oct 2011, 11:47

I am not quite sure how did it happen and what was there before, but it is actually spaces between the list items that break the flow.

Anyway you will be glad to know that the next update will fix this problem, we are just stripping extra whitespace between tags now.
firedev.com
 
dirceulima
Topic Author
Posts: 16
Joined: 02 Aug 2011, 13:44

Re: TinyMCE difference with version 2.7.5.2

28 Oct 2011, 07:35

Hi

Could you tell me how can i fix this into my version 2.7.5.2? I've tried use new version of TinyMCE but didn't work.

I have several changes into our version...

Thanks
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: TinyMCE difference with version 2.7.5.2

28 Oct 2011, 10:30

You can replace /iv-includes/controllers/XmlController.php with the one from the current release, it should fix that.
firedev.com