This commit is contained in:
Erick Zhao 2023-06-01 15:04:27 -07:00 коммит произвёл GitHub
Родитель e8d969b8ae
Коммит 7c113943cd
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -43,7 +43,7 @@ If you have any feedback, please share it with us on Twitter, or join our commun
#### Deprecated: `protocol.{register,intercept}{Buffer,String,Stream,File,Http}Protocol` #### Deprecated: `protocol.{register,intercept}{Buffer,String,Stream,File,Http}Protocol`
The `protocol.register*Protocol` and `protocol.intercept*Protocol` methods have The `protocol.register*Protocol` and `protocol.intercept*Protocol` methods have
been replaced with [`protocol.handle`](api/protocol.md#protocolhandlescheme-handler). been replaced with [`protocol.handle`](latest/api/protocol.md#protocolhandlescheme-handler).
The new method can either register a new protocol or intercept an existing The new method can either register a new protocol or intercept an existing
protocol, and responses can be of any type. protocol, and responses can be of any type.

Просмотреть файл

@ -1464,11 +1464,11 @@ For a call of `win.webContents.adjustSelection({ start: 1, end: 5 })`
Before: Before:
<img width="487" alt="Image Before Text Selection Adjustment" src="https://user-images.githubusercontent.com/2036040/231761306-cd4e7b15-c2ed-46cf-8e80-10811f6de83e.png"> <img width="487" alt="Image Before Text Selection Adjustment" src="https://user-images.githubusercontent.com/2036040/231761306-cd4e7b15-c2ed-46cf-8e80-10811f6de83e.png"/>
After: After:
<img width="487" alt="Image After Text Selection Adjustment" src="https://user-images.githubusercontent.com/2036040/231761169-887eb8ef-06fb-46e4-9efa-898bcb0d6a2b.png"> <img width="487" alt="Image After Text Selection Adjustment" src="https://user-images.githubusercontent.com/2036040/231761169-887eb8ef-06fb-46e4-9efa-898bcb0d6a2b.png"/>
#### `contents.replace(text)` #### `contents.replace(text)`

Просмотреть файл

@ -322,7 +322,6 @@ module.exports = {
'latest/api/structures/custom-scheme', 'latest/api/structures/custom-scheme',
'latest/api/structures/desktop-capturer-source', 'latest/api/structures/desktop-capturer-source',
'latest/api/structures/display', 'latest/api/structures/display',
'latest/api/structures/event',
'latest/api/structures/extension', 'latest/api/structures/extension',
'latest/api/structures/extension-info', 'latest/api/structures/extension-info',
'latest/api/structures/file-filter', 'latest/api/structures/file-filter',