mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-08 16:07:50 +02:00
feat(clipboard): Implement HTML and clear functionality (#977)
* Implement arboard HTML features (desktop only) and ability to trigger clipboard clear Signed-off-by: TukanDev <contact@tukandev.com> * Update readme of clipboard plugin Signed-off-by: TukanDev <contact@tukandev.com> * Update plugins/clipboard-manager/src/desktop.rs Propagate error for clear as requested Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> * Update plugins/clipboard-manager/guest-js/index.ts Change to camelCase as requested Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> * Update plugins/clipboard-manager/guest-js/index.ts use camelCase here too Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> * Update README.md Revert back as mentioned in HTML PR * Update index.ts After discussion readHtml() is decided to be removed. Will follow and remove corresponding rust side function too. * Strip all other existence of read_html out as determined in HTML support PR conversation Signed-off-by: TukanDev <contact@tukandev.com> * Apply requested changes v2 Signed-off-by: TukanDev <contact@tukandev.com> * pnpm run build and cargo fmt Signed-off-by: TukanDev <contact@tukandev.com> * Update plugins/clipboard-manager/src/mobile.rs fix ci calling Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com> * mobile read_html omg.... Signed-off-by: TukanDev <contact@tukandev.com> * Update plugins/clipboard-manager/src/mobile.rs * pnpm format.... Signed-off-by: TukanDev <contact@tukandev.com> * error on mobile as well * clear on mobile * change file --------- Signed-off-by: TukanDev <contact@tukandev.com>
This commit is contained in:
@@ -11,7 +11,6 @@ pub enum Error {
|
||||
#[cfg(mobile)]
|
||||
#[error(transparent)]
|
||||
PluginInvoke(#[from] tauri::plugin::mobile::PluginInvokeError),
|
||||
#[cfg(desktop)]
|
||||
#[error("{0}")]
|
||||
Clipboard(String),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user