wj-popup [How can I choose text?]

Posted by: kimleeju on 17 April 2019, 1:04 am EST

  • Posted 17 April 2019, 1:04 am EST

    Hello, everyone.

    I ask for help with pop-up function.

    I have to choose text and do something that I need to copy.

    I'd appreciate your help.
  • Replied 17 April 2019, 4:54 pm EST

    Hi,

    We are sorry but we are unable to understand your requirements, Could you please elaborate more on the use case so that we can help you accordingly.
  • Replied 17 April 2019, 10:42 pm EST

    I am not good at English. I am sorry.

    I attached an image.

    I want to make a block.

    I'd like to make a block by dragging a Txet with my mouse.

    I hope you understand.

    Thank you for helping me.
  • Replied 21 April 2019, 4:22 pm EST

    Hi,

    Could you please confirm if you want to open a PopUp when we drag a text with mouse?

    We are sorry for not being able to understand your requirements correctly, it would be really helpful if you can provide any additional information to help us understand your requirements.
  • Replied 21 April 2019, 10:50 pm EST

    Hello, abhishek.dutta

    The bottom line is, I'd like to make a copy of the phrase in the pop-up.
    <wj-popup></wj-popup>

    You can't copy text if you're running a pop-up. Is there any way I can make a copy?

    Thank you for listening to my question.
  • Marked as Answer

    Replied 22 April 2019, 9:29 pm EST

    Hello,

    The selection of text has been disabled in popups by setting the CSS property "user-select" to "none". So setting it back to "auto" will make the text selectable:

    .wj-popup {
    -webkit-user-select: auto; /* Safari 3.1+ */
    -moz-user-select: auto; /* Firefox 2+ */
    -ms-user-select: auto; /* IE 10+ */
    user-select: auto; /* Standard syntax */
    }


    Please refer to the sample below:

    https://stackblitz.com/edit/angular-7vjknp
  • Replied 22 April 2019, 10:48 pm EST

    Hello,

    Thank you very much. Thanks to you, I was able to solve this problem.

    ^^
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels