Posted August 5Aug 5 comment_43 It is a very useful feature. Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/ Share on other sites More sharing options...
August 6Aug 6 comment_74 These are features of the OS really. ctrl+zctrl+y Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=74 Share on other sites More sharing options...
August 6Aug 6 comment_77 You can even shake an iPhone to undo the last typing action. You can also do this with your kids but it is frowned upon. Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=77 Share on other sites More sharing options...
August 6Aug 6 comment_85 51 minutes ago, Matt said:You can also do this with your kids but it is frowned upon.Not even sure that will undo their last actions LOL Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=85 Share on other sites More sharing options...
August 6Aug 6 comment_106 3 hours ago, Matt said:You can also do this with your kids but it is frowned upon. Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=106 Share on other sites More sharing options...
August 6Aug 6 Author comment_110 I’m asking on behalf of 56% of our community’s people, who use various Android phones. Please, consider this feature, it is very needed. Just imagine you have no way to undo what you just did with your post and only options you have is refresh the page or retype everything. Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=110 Share on other sites More sharing options...
August 6Aug 6 comment_112 1 hour ago, alextester said:I’m asking on behalf of 56% of our community’s people, who use various Android phones. Please, consider this feature, it is very needed. Just imagine you have no way to undo what you just did with your post and only options you have is refresh the page or retype everything.Another option is to get a phone with basic, built-in functions. Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=112 Share on other sites More sharing options...
August 6Aug 6 comment_116 2 hours ago, alextester said:who use various Android phonesSamsung KeyboardGboard Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=116 Share on other sites More sharing options...
August 6Aug 6 Author comment_120 I got your point. Is there a chance you would add them in the future? It would be great because most text editors have them (despite alternative ways of undoing things like ctrl+z) and my users will definitely struggle without them. When I made a responsive theme I learned that so many people, our active users, use old phones and rare browsers, and my task was to make as much universal theme as possible for all of them. I think v5 would be better with those buttons, more universal and convenient for different people. Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=120 Share on other sites More sharing options...
August 6Aug 6 comment_123 The editor is very extensible, so it very possible to add them. Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=123 Share on other sites More sharing options...
August 7Aug 7 comment_170 Yeah, it’s really easy to extend if that’s something you cannot live without. Here’s a sneak preview of the extension API, it’s largely based on tiptap’s API: I can add undo/redo buttons in under 20 lines of code 😉 🤫ips.ui.editorv5.registerExtension('undoRedoButtons', { addButtons() { return { redo: { locations: ["format"], isAvailable: editor => editor.can().redo(), command: ({commands}) => commands.redo(), html: '<span><i class="fa-solid fa-redo"></i></span>' }, undo: { locations: ["format"], isAvailable: editor => editor.can().undo(), command: ({commands}) => commands.redo(), html: "<span><i class='fa-solid fa-undo'></i></span>" } } } }); Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=170 Share on other sites More sharing options...
August 7Aug 7 comment_171 30 minutes ago, Matt F said:Yeah, it’s really easy to extend if that’s something you cannot live without. Here’s a sneak preview of the extension API, it’s largely based on tiptap’s API: I can add undo/redo buttons in under 20 lines of code 😉 🤫ips.ui.editorv5.registerExtension('undoRedoButtons', { addButtons() { return { redo: { locations: ["format"], isAvailable: editor => editor.can().redo(), command: ({commands}) => commands.redo(), html: '<span><i class="fa-solid fa-redo"></i></span>' }, undo: { locations: ["format"], isAvailable: editor => editor.can().undo(), command: ({commands}) => commands.redo(), html: "<span><i class='fa-solid fa-undo'></i></span>" } } } });I presume this could be set based on editor permissions?Invision CommunityInvision Community 5: Editor Permissions and Custom EmbedsWe recently announced the new Invision Community 5 editor which adds many new exciting features such as semantically correct header tags, custom boxes and more. As the new editor is a leap forward...That would be awesome if so 🤞 Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=171 Share on other sites More sharing options...
August 7Aug 7 comment_173 2 hours ago, Andy said:I presume this could be set based on editor permissions?Invision CommunityInvision Community 5: Editor Permissions and Custom EmbedsWe recently announced the new Invision Community 5 editor which adds many new exciting features such as semantically correct header tags, custom boxes and more. As the new editor is a leap forward...That would be awesome if so 🤞Sure can! Extensions define any number of their own acp-managed permissions. They also can define a ‘root’ permission which toggles the entire extension. Here, it'd look likeips.ui.editorv5.registerExtension('undoRedoButtons', { ... restrictions: [""] // "" is the root restriction }); ips.setString("ipsCustomExtension__undoRedoButtons__", "Can use undo and redo buttons?"); Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=173 Share on other sites More sharing options...
August 7Aug 7 comment_174 28 minutes ago, Matt F said:Sure can! Extensions define any number of their own acp-managed permissions. They also can define a ‘root’ permission which toggles the entire extension. Here, it'd look likeips.ui.editorv5.registerExtension('undoRedoButtons', { ... restrictions: [""] // "" is the root restriction }); ips.setString("ipsCustomExtension__undoRedoButtons__", "Can use undo and redo buttons?");Really appreciate that explanation, very helpful in understanding how this works, thank you ☺️ Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=174 Share on other sites More sharing options...
August 7Aug 7 comment_178 Is mentioned turned off?I was going to say, a big bug bear with 4.7 was when you tried to remove mentions using your phone. I had to recommend that members be refreshed, so that the clear content feature would come up. Before they did that, I encouraged them to copy their message to save losing other written text.It would be nice to have a button to clear all text or just certain parts. Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=178 Share on other sites More sharing options...
August 7Aug 7 comment_184 26 minutes ago, joeym said:Is mentioned turned off?See bug report 😊 https://preview.invisionalpha5.com/bugtracker/alpha-bugs/3_closed-bugs/mentions-dont-work-r20/ Link to comment https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/?&do=findComment&comment=184 Share on other sites More sharing options...
It is a very useful feature.
Link to comment
https://preview.invisionalpha5.com/topic/20-please-add-undo-and-redo-buttons-to-editor/Share on other sites