Translations: English
Search on Docs:
ActionItem Search:

#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]," +/


-- 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

-- BraulioBhavamitraBO - 20 Sep 2013

moved to

-- 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
ResponsibleDevelopers BraulioBhavamitraBO
Status WaitingForReview
Ticket SAC:
who cares
Topic revision: r1 - 22 May 2015, UnknownUser

irc Talk with Devs Now!

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