Title: Minimal editor
Last modified: September 1, 2016

---

# Minimal editor

 *  Resolved [coconut6](https://wordpress.org/support/users/coconut6/)
 * (@coconut6)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/minimal-editor/)
 * In my forum lost minimal editor. Enabling and disabling the appropriate checkbox
   in the settings does not help. How I can fix it. Thanks in advance.
 * [https://wordpress.org/plugins/asgaros-forum/](https://wordpress.org/plugins/asgaros-forum/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/minimal-editor/#post-7579671)
 * Hello,
 * have you installed some editor-plugins?
 * Did you make some changes to your functions.php or other files regarding the 
   forum-plugin?
 * Can you provide me a screenshot?
 *  Thread Starter [coconut6](https://wordpress.org/support/users/coconut6/)
 * (@coconut6)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/minimal-editor/#post-7579674)
 * No, I did not installed any of the editors and the changes were not made.
    [http://i80.fastpic.ru/big/2016/0718/fb/0c847d5ed70fc9c4bbddd4ec8cf2c2fb.jpg](http://i80.fastpic.ru/big/2016/0718/fb/0c847d5ed70fc9c4bbddd4ec8cf2c2fb.jpg)
 * [http://i80.fastpic.ru/big/2016/0718/06/027295f3f671e57e9c57c8dee722e806.jpg](http://i80.fastpic.ru/big/2016/0718/06/027295f3f671e57e9c57c8dee722e806.jpg)
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/minimal-editor/#post-7579682)
 * Have you tried to delete the cache of your browser and reload the editor via 
   CTRL + F5?
 * If this has no effect, try this:
 * Replace asgaros-forum/js/script.js:
 *     ```
       (function($) {
           $(document).ready(function() {
               $('a#add_file_link').click(function() {
                   $('<input type="file" name="forumfile[]" /><br />').insertBefore(this);
               });
               $('.uploaded-file a.delete').click(function() {
                   var filename= $(this).attr('filename');
                   $('.files-to-delete').append('<input type="hidden" name="deletefile[]" value="'+filename+'" />');
                   $(this).parent().remove();
               });
   
               // Disable submit-button after first submit
               jQuery.fn.preventDoubleSubmission = function() {
                   $(this).on('submit', function(e) {
                       var $form = $(this);
   
                       if ($form.data('submitted') === true) {
                           e.preventDefault();
                       } else {
                           $form.data('submitted', true);
                       }
                   });
   
                   return this;
               };
               $('#forum-editor-form').preventDoubleSubmission();
           });
       })(jQuery);
       ```
   
 * With this:
 *     ```
       (function($) {
           $(document).ready(function() {
               $('a#add_file_link').click(function() {
                   $('<input type="file" name="forumfile[]" /><br />').insertBefore(this);
               });
               $('.uploaded-file a.delete').click(function() {
                   var filename= $(this).attr('filename');
                   $('.files-to-delete').append('<input type="hidden" name="deletefile[]" value="'+filename+'" />');
                   $(this).parent().remove();
               });
           });
       })(jQuery);
       ```
   
 *  Thread Starter [coconut6](https://wordpress.org/support/users/coconut6/)
 * (@coconut6)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/minimal-editor/#post-7579684)
 * Sorry, but I can’t find the file functions.php. Please tell me where it is located.
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/minimal-editor/#post-7579685)
 * It doesnt matter. When you dont know where to find the file -> You made no changes
   to it. 🙂
 *  Plugin Author [Asgaros](https://wordpress.org/support/users/asgaros/)
 * (@asgaros)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/minimal-editor/#post-7579686)
 * Anyway: Do you have a link to your forum? Maybe there is also some problem with
   your HTML or some other kind of JavaScript code so I can have a look at it.
 *  Thread Starter [coconut6](https://wordpress.org/support/users/coconut6/)
 * (@coconut6)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/minimal-editor/#post-7579688)
 * I made changes to the file script.js but nothing has changed.
 * I don’t know what’s the error, but the forum visible only to registered users,
   despite the fact that I removed all restrictions.
 * [http://dobroletauc.ru/forum/](http://dobroletauc.ru/forum/)
 *  Thread Starter [coconut6](https://wordpress.org/support/users/coconut6/)
 * (@coconut6)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/minimal-editor/#post-7579731)
 * I returned to base 2016-06-15 and all was well. The error was in the database.
   Thanks for the help!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Minimal editor’ is closed to new replies.

 * ![](https://ps.w.org/asgaros-forum/assets/icon-128x128.png?rev=1546717)
 * [Asgaros Forum](https://wordpress.org/plugins/asgaros-forum/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/asgaros-forum/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/asgaros-forum/)
 * [Active Topics](https://wordpress.org/support/plugin/asgaros-forum/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/asgaros-forum/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/asgaros-forum/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [coconut6](https://wordpress.org/support/users/coconut6/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/minimal-editor/#post-7579731)
 * Status: resolved