Vizzuality / openDRI

Open Data for Resilience Initiative
1 stars 1 forks source link

Spaces between paragraphs are disappearing #147

Closed shanikadhettige closed 7 years ago

shanikadhettige commented 8 years ago

@apercas Even when < p>< /p> or nbsp; are manually typed into the code some of the project and news pages are losing their paragraph spacing after additional edits, no obvious pattern

apercas commented 8 years ago

Hi, I took as an example the Sri Lanka project, http://dev-gfdrr-opendri.pantheonsite.io/project/sri-lanka/ and it lacked of the required p tag.

I added again: image

Now it looks OK. Every paragraph should be wrapped as these so we apply their styles no matter what.

shanikadhettige commented 8 years ago

Actually, I've figured out why it happens. The p tag stays if you only edit using the "text" edit box. If you change to "visual" and make edits then then the paragraph spacing goes away and you have to manually re-enter the spacing. Is there any way to avoid this? If not we'll just have to work around this and make sure it's only edited "text" side or revised after all content edits.

apercas commented 8 years ago

Sure, if that's what we want we can toggle this checkbox: image

You'll find it on Users / Your profile.

If we want to do this for all the users please tell me because there's a better way than going profile by profile :)

shanikadhettige commented 8 years ago

Thanks for thinking of a solution, Adrian but Vivien and I discussed that it would be good to still be able to view both the Visual and Text editor. Do you know why this error is happening?

shanikadhettige commented 8 years ago

@apercas Just wanted to draw your attention back to this issue - we have been telling editors to be careful but lose a lot of functionality without having access to both sides. Given that there will be several people contributing to the site, many of whom have little to no background with editing websites, we'd definitely like to avoid having them accidentally break pages.

apercas commented 8 years ago

Hi, I've been trying again and both the visual and the text editor behave likewise, could you please tell me if you tell any different on the new paragraphs creation now?

shanikadhettige commented 8 years ago

I just Updated will viewing the Visual Editor and the issue still happens.

I will go ahead and reinsert the < p >< /p > tags to Text Editor now uganda_spaceissue

tiagojsag commented 7 years ago

please let me know if this discussion is still relevant

thanks

shanikadhettige commented 7 years ago

Yes, I believe so.

On Thu, Mar 2, 2017 at 12:09 PM, Tiagojsag notifications@github.com wrote:

Assigned #147 https://github.com/Vizzuality/openDRI/issues/147 to @shanikadhettige https://github.com/shanikadhettige.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Vizzuality/openDRI/issues/147#event-984029440, or mute the thread https://github.com/notifications/unsubscribe-auth/AQ56CHWoRQl7RWAso0G7cVMhCZoCYt6nks5rhvfPgaJpZM4I6t4S .

shanikadhettige commented 7 years ago

Just checked and this remains a problem after the update - how can we fix? @tiagojsag

shanikadhettige commented 7 years ago

Confirmed fixed!