Opened 10 years ago

Last modified 10 years ago

#11187 confirmed New Feature

Audio tag needs fake element what should result in new plugin.

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Support Cc:


  1. Turn off ACF (allowedContent:true)
  2. Load sample, switch to source and paste below:
    <audio controls>
      <source src="" type="audio/ogg">
      <source src="" type="audio/mpeg">
      Your browser does not support the audio element.
  3. Switch to wysiwyg and right-click on audio element.

Result: JS error is thrown:
Error: Permission denied to access property 'nodeType'
Line : 998
URI: core/selection.js

Despite error I think whole plugin with placeholder (fake element) is missing here

Change History (3)

comment:1 Changed 10 years ago by Jakub Ś

Status: newconfirmed
Type: BugNew Feature

I'm changing this to new feature but I wonder if this should not be treated as bug. We have this tag mentioned in dtd and no handling for it.

comment:2 Changed 10 years ago by Jakub Ś

Keywords: Support added

comment:3 Changed 10 years ago by Jakub Ś

NOTE: I have also noticed that Elements path, or editor functions (that rely on selection) don't recognize this element.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy