Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds Frontend
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
397
Merge Requests
56
CI / CD
Security & Compliance
Packages
Wiki
Snippets
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds Frontend
Commits
7d7b9624
Commit
7d7b9624
authored
1 hour ago
by
Marcelo Rivera
Browse files
Options
Download
(fix): lint
parent
52206363
feat/copy-and-paste-images-in-posts
1 merge request
!394
[Sprint/HipsterHedgehog] (feat): ability to copy and paste images into posts and comments
Pipeline
#100917682
passed with stages
in 48 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/app/common/directives/paste/attachment-paste.directive.ts
View file @
7d7b9624
...
...
@@ -2,11 +2,11 @@ import { Directive, EventEmitter, HostListener, Output } from '@angular/core';
@
Directive
({
selector
:
'
[m-attachment-paste]
'
})
export
class
AttachmentPasteDirective
{
@
Output
(
'
onFilePaste
'
)
onFilePaste
:
EventEmitter
<
File
>
=
new
EventEmitter
<
File
>
();
@
Output
(
'
onFilePaste
'
)
onFilePaste
:
EventEmitter
<
File
>
=
new
EventEmitter
<
File
>
();
private
focused
:
boolean
=
false
;
@
HostListener
(
'
focus
'
)
onFocus
()
{
this
.
focused
=
true
;
}
...
...
This diff is collapsed.
Please
register
or
sign in
to comment