You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@mmichaelis does tr tag allows style attributes on it? since they're invalid as per HTML standards,so when enabled in GHS it makes them valid.
@shahzebgit, sorry, I don't get the relevance for this question regarding this issue. In our scenario (which is reduced HTML for the data layer), neither <td> nor <tr> may have style attributes.
As we are using GHS on API level (using DataFilter.loadAllowedConfig) I just can assume, that we had an error in our implementation (although I could have sworn, I tested the configurations above without this extra bloat).
Still using CKEditor 31.0.0, just to emphasize, that we did not update meanwhile.
Thus, unless someone else has a problem here, I would recommend just closing this issue.
📝 Provide detailed reproduction steps (if any)
Setup ClassicEditor with Table Feature, GeneralHtmlSupport, Source Editing (for testing).
Configure GeneralHtmlSupport as follows
Now add a table in source editing:
Store data (exit source editing)
Switch back to source editing view, have a look at the inspector.
✔️ Expected result
lang
attribute is persisted for<td>
as well as for<tr>
.tableCell
node havinghtmlAttributes
❌ Actual result
lang
attribute is removed from<td>
but stored for<tr>
.lang
attribute is not exposed in editing view of<td>
.tableCell
havinghtmlAttributes
.Workaround: Use the generic configuration "allow all":
📃 Other details
This issue related to #9856.
If you'd like to see this fixed sooner, add a 👍 reaction to this post.
The text was updated successfully, but these errors were encountered: