Problem/Motivation

See: #3271278: Using ace editor with field ui throws error

Proposed resolution

Fix get of default settings in field ui

Remaining tasks

  • File an issue
  • Patch/MR
  • Review
  • Test
  • Release ( Quick fix release )

User interface changes

Fields with ACE editor, can be used in both Form Display and Entity Display

API changes

  • N/A

Data model changes

  • N/A

Issue fork ace_editor-3365101

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sgurlt created an issue. See original summary.

mortona2k made their first commit to this issue’s fork.

mortona2k’s picture

That looks like a mistake. We just need

$config = \Drupal::config('ace_editor.settings')->get();

My IDE says $this can't be accessed because it's in a static function. I'm not sure how to access the configFactory from the container here.

MukhtarM made their first commit to this issue’s fork.

mukhtarm’s picture

Status: Active » Needs review

Addressed the #4 in MR

tasneem natshah’s picture

I'm facing the same issue

Thanks for the patch

Before the patch:
Manage display field settings:
Ace editor display field settings before

Manage display field output:
Ace editor display field output before

After the patch:
Manage display field settings:
Ace editor display field settings after

Manage display field output:
Ace editor display field output after

rajab natshah’s picture

Priority: Normal » Critical
rajab natshah’s picture

Title: Reopen: Using ace editor with field ui throws error » Fix using ace editor with field ui throws error

rajab natshah’s picture

Issue summary: View changes
Status: Needs review » Fixed
Issue tags: +ace_editor-2.0.0-beta1

Committed ... Thank you :)

rajab natshah’s picture

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.