diff --git a/wp-includes/js/media-views.js b/wp-includes/js/media-views.js
index 26fe39d..97f06e5 100644
a
|
b
|
|
1960 | 1960 | this.on( 'router:render:browse', this.browseRouter, this ); |
1961 | 1961 | this.on( 'content:create:browse', this.browseContent, this ); |
1962 | 1962 | this.on( 'content:render:upload', this.uploadContent, this ); |
| 1963 | this.on( 'content:create:fromURL', this.createFromURLContent, this ); |
1963 | 1964 | this.on( 'toolbar:create:select', this.createSelectToolbar, this ); |
1964 | 1965 | }, |
1965 | 1966 | |
… |
… |
|
1973 | 1974 | browse: { |
1974 | 1975 | text: l10n.mediaLibraryTitle, |
1975 | 1976 | priority: 40 |
| 1977 | }, |
| 1978 | fromURL: { |
| 1979 | text: 'From URL', |
| 1980 | priority: 50 |
1976 | 1981 | } |
1977 | 1982 | }); |
1978 | 1983 | }, |
… |
… |
|
2018 | 2023 | }) ); |
2019 | 2024 | }, |
2020 | 2025 | |
| 2026 | createFromURLContent: function() { |
| 2027 | this.content.set( new media.View({ |
| 2028 | el: '<div>lorem ipsum</div>' |
| 2029 | }) ); |
| 2030 | }, |
| 2031 | |
2021 | 2032 | /** |
2022 | 2033 | * Toolbars |
2023 | 2034 | * |