Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-7573

WYSWIG Editor Undo Level is limited to 10

    XMLWordPrintable

Details

    • Unknown

    Description

      The undo history is limited to 10 items. Can this be made unlimited and/or configurable?

      From historyplugin.java:
      /**

      • {@inheritDoc}
      • @see AbstractPlugin#init(RichTextArea, Config)
        */
        public void init(RichTextArea textArea, Config config)
        {
        super.init(textArea, config);

      // Register custom executables.
      History history = new DefaultHistory(textArea, 10); // <-------------------- ?
      getTextArea().getCommandManager().registerCommand(Command.REDO, new RedoExecutable(history));
      getTextArea().getCommandManager().registerCommand(Command.UNDO, new UndoExecutable(history));

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mindw Gabi Davar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: