Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying code to the FiddlePanel code element in docs does not remove formatting #1966

Closed
pmiklashevych opened this issue Nov 25, 2020 · 0 comments
Assignees
Labels
bug Something isn't working docs Improvements or additions to documentation resolved Fixed but not yet released (available in the nightly builds)
Milestone

Comments

@pmiklashevych
Copy link

const picker = new DatePicker({
    appendTo          : targetElement,
    width             : '24em',
    multiSelect       : true,
    onSelectionChange : ({ selection }) => {
        Toast.show(` You picked: ${DateHelper.format(selection[0], 'MMM DD')}
            ${selection[1] ? ' - ' + DateHelper.format(selection[1], 'MMM DD') : ''}`);
    }
});

Copy the code above to the WebStorm
Copy from the WebStorm and paste to the snippet here https://www.bryntum.com/docs/grid/#Core/widget/DatePicker

CMD+V not visible at all
Снимок экрана 2020-11-25 в 18 40 13

SHIFT+CMD+V makes it visible but bad formatting
Снимок экрана 2020-11-25 в 18 39 32

@pmiklashevych pmiklashevych added bug Something isn't working docs Improvements or additions to documentation labels Nov 25, 2020
@matsbryntse matsbryntse changed the title Copying code to the snippets in docs saves formatting Copying code to the FiddlePanel code element in docs does not remove formatting Nov 25, 2020
@matsbryntse matsbryntse self-assigned this Nov 27, 2023
@matsbryntse matsbryntse added ready for review Issue is fixed, the pull request is being reviewed resolved Fixed but not yet released (available in the nightly builds) and removed ready for review Issue is fixed, the pull request is being reviewed labels Nov 27, 2023
@matsbryntse matsbryntse added this to the 5.6.3 milestone Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working docs Improvements or additions to documentation resolved Fixed but not yet released (available in the nightly builds)
Projects
None yet
Development

No branches or pull requests

2 participants