You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can set the user-select CSS property to none on those elements. Ideally this would be built in to this project, but until that happens you can do the following in your component that uses td-ngx-text-diff.
Configure the component to allow CSS from the parent to apply to child components with encapsulation: ViewEncapsulation.None, e.g.:
Note that since we're taking the unusual step of allowing CSS from the parent to affect child components were taking extra care to target the elements of interest. If there's zero chance of your component using, e.g.: class="prefix-col" outside of the diff component then you can omit the leading .td-wrapper selector.
Is there anyway to prevent the '+' and line number from being copied ?
The text was updated successfully, but these errors were encountered: