?
avatar thndrbck
thndrbck
7 Mar 2016

Steps to reproduce the issue

To set tinymce to accept schema.org markup, the Extended Valid Elements parameter needs to have the following value:

span[itemtype|itemscope|itemprop|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],div[itemtype|itemscope|itemprop|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],p[itemtype|itemscope|itemprop|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h1[itemtype|itemscope|itemprop|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h2[itemtype|itemscope|itemprop|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h3[itemtype|itemscope|itemprop|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h4[itemtype|itemscope|itemprop|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h5[itemtype|itemscope|itemprop|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h6[itemtype|itemscope|itemprop|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],a[itemprop|accesskey|charset|class|coords|dir<ltr?rtl|href|hreflang|id|lang|name|onblur|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|rel|rev|shape<circle?default?poly?rect|style|tabindex|title|target|type],

Expected result

It is expected to have exactly that above in the parameter field after saving.

Actual result

span[itemtype|itemscope|itemprop|alignr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],div[itemtype|itemscope|itemprop|align,p[itemtype|itemscope|itemprop|alignltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h1[itemtype|itemscope|itemprop|alignh2[itemtype|itemscope|itemprop|alignltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h3[itemtype|itemscope|itemprop|alignh4[itemtype|itemscope|itemprop|alignltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h5[itemtype|itemscope|itemprop|alignh6[itemtype|itemscope|itemprop|alignltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],a[itemprop|accesskey|charset|class|coords|dirault?poly?rect|style|tabindex|title|target|type],

System information (as much as possible)

Additional comments

It strips out starting with the

definintion with this string: <center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title]

This string in the

definition: <center?justify?left?right|class|dir<

all this string in each of the definitions: <center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],

and this string from the definition: <ltr?rtl|href|hreflang|id|lang|name|onblur|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|rel|rev|shape<circle?def

If this can be corrected, The tinymce plugin will be able to handle schema.org markup.

As it is now, using the above value for the extended valid elements parameter I can get some of the markup through for the span tag, but everything else fails

Sample Websites
999 Street Ave.
Pleasantville
NY
12345
USA
avatar thndrbck thndrbck - open - 7 Mar 2016
avatar citizencontact
citizencontact - comment - 6 Nov 2016

Good info. Thanks. However, I would hope that the other attributes, "itemid" and "itemref" are also included.

span[itemtype|itemscope|itemprop|itemid|itemref|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],div[itemtype|itemscope|itemprop|itemid|itemref|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],p[itemtype|itemscope|itemprop|itemid|itemref|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h1[itemtype|itemscope|itemprop|itemid|itemref|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h2[itemtype|itemscope|itemprop|itemid|itemref|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h3[itemtype|itemscope|itemprop|itemid|itemref|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h4[itemtype|itemscope|itemprop|itemid|itemref|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h5[itemtype|itemscope|itemprop|itemid|itemref|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],h6[itemtype|itemscope|itemprop|itemid|itemref|align<center?justify?left?right|class|dir<ltr?rtl|id|lang|onclick|ondblclick|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|style|title],a[itemprop|itemid|itemref|accesskey|charset|class|coords|dir<ltr?rtl|href|hreflang|id|lang|name|onblur|onclick|ondblclick|onfocus|onkeydown|onkeypress|onkeyup|onmousedown|onmousemove|onmouseout|onmouseover|onmouseup|rel|rev|shape<circle?default?poly?rect|style|tabindex|title|target|type],

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 29 Jan 2017

Is this Issue solved by #12784?

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Apr 2017

@thndrbck can you please test if this Issue still exist?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/9323.

avatar franz-wohlkoenig franz-wohlkoenig - change - 6 Apr 2017
The description was changed
Status New Closed - No Reply
Closed_Date 0000-00-00 00:00:00 2017-04-06 13:56:19
Closed_By franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - change - 6 Apr 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 6 Apr 2017
avatar joomla-cms-bot joomla-cms-bot - close - 6 Apr 2017
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 6 Apr 2017

closed as no Reply. @thndrbck feel free to reopen for further Discussions.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/9323.

avatar joomla-cms-bot
joomla-cms-bot - comment - 6 Apr 2017

Add a Comment

Login with GitHub to post a comment