#2794: Allow ROWSPAN and COLSPAN in noosfero's contents

Type: FeatureItem Feature: ContentManagement Tags: EasyToSolve
ScheduledFor:   Assigned to: BraulioBhavamitraBO Sites:  
Priority: 0 Status: WaitingForReview  

Adicionar os atributos das tags de tabela no tinymce (ROWSPAN e COLSPAN).

Sugestão do Daniel Tygel na lista de discussão:

Será algo assim, no "valid_elements" do tinymce:

/"-table[border=0|cellspacing|cellpadding|width|frame|rules|" + "height|align|summary|bgcolor|background|bordercolor|style],-tr[rowspan|width|" + "height|align|valign|bgcolor|background|bordercolor|style],tbody,thead,tfoot," + "#td[colspan|rowspan|width|height|align|valign|bgcolor|background|bordercolor" + "|scope|style],#th[colspan|rowspan|width|height|align|valign|scope|style]," +/

Fonte: http://www.activecollabmod.com/node/21

-- PauloSantana - 10 Sep 2013

In fact, changing the valid_elements in tiny_mce.rhtml didn't work. I then changed the sanitizer filters in config/environment.rb to allow colspan and rowspan attributes, thanks to Daniela who pointed me to the right place to look at.

I already did a pullrequest to noosfero-ecosol in cirandas, and Braulio will soon apply a merge request to noosfero.

-- DanielTygel - 12 Sep 2013

https://gitorious.org/noosfero/noosfero/merge_requests/379

-- BraulioBhavamitraBO - 20 Sep 2013

moved to https://gitlab.com/noosfero/noosfero/merge_requests/6

-- BraulioBhavamitraBO - 16 Oct 2013
Add comment
You need to login to be able to comment.
 

ActionItemForm edit

Title Allow ROWSPAN and COLSPAN in noosfero's contents
ActionItemType FeatureItem
Priority Low
Tags EasyToSolve
Feature ContentManagement
Plugin
ResponsibleDevelopers BraulioBhavamitraBO
AffectsVersion
Status WaitingForReview
Ticket SAC:
who cares
Topic revision: r5 - 16 Oct 2013, BraulioBhavamitraBO

irc Talk with Devs Now!

 
Translations: English
Search on Docs:
   
ActionItem Search:

Copyright © 2007-2018 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres