Opened 5 years ago

Closed 5 years ago

#12112 closed Bug (fixed)

[Nested widgets] Widget command should be enabled inside nested widget (if content rules are fulfilled)

Reported by: Piotr Jasiun Owned by: Piotrek Koszuliński
Priority: Normal Milestone: CKEditor 4.5.0 Beta
Component: UI : Widgets Version: 4.3 Beta
Keywords: Cc:

Description (last modified by Piotrek Koszuliński)

Part of: #10931.

  1. Create an editor with both image2 and placeholder widget:

CKEDITOR.replace( 'editor1', {

extraPlugins: 'image2,placeholder',

} );

  1. Put placeholder into image caption:
    <figure class="image"><img alt="" height="90" src="assets/image2.jpg" width="100" />
    <figcaption>Some text with a&nbsp;[[placeholder]].</figcaption>
    </figure>
    

Result: I can have placeholder in the image2 caption if I create it in the source mode or paste it there, but I can not create a placeholder there using toolbar, the button is disabled.

Tested in Opera.

Change History (7)

comment:1 Changed 5 years ago by Piotr Jasiun

Description: modified (diff)

comment:2 Changed 5 years ago by Jakub Ś

Keywords: nested widget removed
Status: newconfirmed
Summary: Can not create placeholder in the image caption.[Nested widgets] Can not create placeholder in the image caption.

comment:3 Changed 5 years ago by Piotrek Koszuliński

Description: modified (diff)
Milestone: CKEditor 4.5.0

comment:4 Changed 5 years ago by Piotrek Koszuliński

Summary: [Nested widgets] Can not create placeholder in the image caption.[Nested widgets] Widget command should be enabled inside nested widget (if content rules are fulfilled)
Version: 4.3 Beta

comment:5 Changed 5 years ago by Piotrek Koszuliński

Owner: set to Piotrek Koszuliński
Status: confirmedreview

comment:6 Changed 5 years ago by Olek Nowodziński

Status: reviewreview_passed

Seems alright. We'll catch more bugs during tests, if any.

comment:7 Changed 5 years ago by Piotrek Koszuliński

Resolution: fixed
Status: review_passedclosed

Fixed on major with git:34467c6.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy