tinyMCE has intelligently populated my styles menu and the class menu in insert/edit link with a few of my classes. That would be great if it worked, but whether I select Class>arrow in the insert link popup or whether I select the link and select style>arrow it doesn't apply the class to the link.
At first I thought this was a tinyMCE problem, but then I clicked "disable rich text" and manually wrote in the class into the html and it still stripped it. So I finally dug into the database, discovered the content is held in the node_revisions table and saw that indeed it IS saving my class with the link, which means it's stripping it on display. I'm set to Full HTML, so why is it doing this? More importantly, how do I get it to pass this info through?
.s
never mind... problem mysteriously disappeared. if it resurfaces I'll hopefully have more details next time.
sander-martijn wrote:
tinyMCE has intelligently populated my styles menu and the class menu in insert/edit link with a few of my classes. That would be great if it worked, but whether I select Class>arrow in the insert link popup or whether I select the link and select style>arrow it doesn't apply the class to the link.
At first I thought this was a tinyMCE problem, but then I clicked "disable rich text" and manually wrote in the class into the html and it still stripped it. So I finally dug into the database, discovered the content is held in the node_revisions table and saw that indeed it IS saving my class with the link, which means it's stripping it on display. I'm set to Full HTML, so why is it doing this? More importantly, how do I get it to pass this info through?
.s