Removed sticker option from Pintura (#18497)
Removed the sticker feature from the image editor component in both the new and the legacy admin apps. This simplifies the UI and the code of the `usePinturaEditor.ts` and `koenig-image-editor.js` files.
This commit is contained in:
parent
1b5359dce1
commit
d454f18ad2
@ -35,7 +35,6 @@ declare global {
|
||||
enableTransparencyGrid: boolean;
|
||||
util: string;
|
||||
utils: string[];
|
||||
stickerStickToImage: boolean;
|
||||
frameOptions: [FrameOptionType, (locale: PinturaLocale) => string][];
|
||||
cropSelectPresetFilter: string;
|
||||
cropSelectPresetOptions: [number | undefined, string][];
|
||||
@ -164,10 +163,8 @@ export default function usePinturaEditor({
|
||||
'redact',
|
||||
'annotate',
|
||||
'trim',
|
||||
'frame',
|
||||
'sticker'
|
||||
'frame'
|
||||
],
|
||||
stickerStickToImage: true,
|
||||
frameOptions: [
|
||||
// No frame
|
||||
[undefined, locale => locale.labelNone],
|
||||
|
@ -158,10 +158,8 @@ export default class KoenigImageEditor extends Component {
|
||||
'redact',
|
||||
'annotate',
|
||||
'trim',
|
||||
'frame',
|
||||
'sticker'
|
||||
'frame'
|
||||
],
|
||||
stickerStickToImage: true,
|
||||
frameOptions: [
|
||||
// No frame
|
||||
[undefined, locale => locale.labelNone],
|
||||
|
Loading…
Reference in New Issue
Block a user