• Resolved Anonymous User

    (@anonymized-20871082)


    Test page access is copy-demo

    Try to copy the code and the buggy behaviour is:

    • The word Copy gets removed from Copyright
    • the formatting is lost, empty spaces are removed

    as this is just for demonstration, we use some spaces in other code places and it gets removed as such code is hard to read after copy-paste, there is no block building plugin used its simple gutenberg <code> element

    Origianl code:

    /*
     * Copyright (c) 2022 Nordic Semiconductor
     * SPDX-License-Identifier: Apache-2.0
     */
    
    &pinctrl {
    
    };

    Copied code:

    /*
     * right (c) 2022 Nordic Semiconductor
     * SPDX-License-Identifier: Apache-2.0
     */
    &pinctrl {
    };
    • This topic was modified 1 year ago by Anonymous User.
    • This topic was modified 1 year ago by Anonymous User.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter Anonymous User

    (@anonymized-20871082)

    Is there any solution to fix this ?

    Plugin Author Mahesh Waghmare

    (@mahesh901122)

    Hello,

    The issue exists.

    The copy word removed from the content which need to fix it.

    We’ll release another update tonight with that fix.

    If you have any questions then feel free to contact me on: [email protected]

    Thank you

    Thread Starter Anonymous User

    (@anonymized-20871082)

    4 weeks passed no fix provided, should i start searching for alternative plugin ?

    Plugin Author Mahesh Waghmare

    (@mahesh901122)

    Hello @montifit

    The issue is with the <code> tag.

    Please use the <pre> tag instead.

    The <code> tag keep the spaces and the <pre> tag convert the spaces to the <br> tag.

    So, It works with pre tag as expected.

    Please check it and let me know.

    Thread Starter Anonymous User

    (@anonymized-20871082)

    This solution did not work as the project needs code block but the setting
    Format to Google Docs works as a solution Than you Mahesh

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Buggy behaviour with the copy code functionality’ is closed to new replies.