google-code-export / django-grappelli

Automatically exported from code.google.com/p/django-grappelli
0 stars 0 forks source link

<address> block format does not work in TinyMCE #162

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add "address" to theme_advanced_blockformats
2.
3.

What is the expected output? What do you see instead?
TinyMCE should output an "address" tag. 

Instead, no blockformat and a red cursor

What version of the product are you using? On what operating system?
Django SVN with django-tinymce on linux

Please provide any additional information below.

Original issue reported on code.google.com by dmee...@gmail.com on 30 Jan 2010 at 7:44

GoogleCodeExporter commented 9 years ago

Original comment by sehmaschine on 30 Jan 2010 at 7:54

GoogleCodeExporter commented 9 years ago
this is a tinymce bug.

not even that:

the address tag is not in the theme_advanced_blockformats of grappelli's default
tinymce_setup.js. and according to the rest of the file (valid_elements,
extended_valid_elements) its not a valid tag.

a misconfiguration it is.

because i don't see any reason to "make" address-tags invalid and strip them 
out of
the html i added it to the extended_valid_elements of our tinymce_setup.js (in
grappelli_2_1). so if you add address to theme_advanced_blockformats it works 
now.

Original comment by klemens.mantzos on 27 May 2010 at 10:15

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r1039.

Original comment by klemens.mantzos on 27 May 2010 at 10:16