Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing id attribute to editor's textarea #359

Merged
merged 2 commits into from
Jul 29, 2017

Conversation

mikemand
Copy link
Contributor

Without this, it is impossible to add custom config to a single CKEditor instance since CKEDITOR.replace() uses the id of the field, not the name.

Without this, it is impossible to add custom config to a single CKEditor
 instance since `CKEDITOR.replace()` uses the `id` of the field, not the
 name.

Signed-off-by: Micheal Mand <micheal@kmdwebdesigns.com>
@nWidart
Copy link
Member

nWidart commented Jul 29, 2017

Tanks!

But for the translatable one, shouldn't the id match the for on the label so that clicking the label focuses the field?

@mikemand
Copy link
Contributor Author

You are correct. I will get that fixed.

As an aside, I was under the impression that brackets ([ and ]) were not valid characters for the id attribute. While that was true for HTML4, HTML5 has lifted that "restriction".

Signed-off-by: Micheal Mand <micheal@kmdwebdesigns.com>
@nWidart nWidart merged commit d1191f3 into AsgardCms:2.0 Jul 29, 2017
@mikemand mikemand deleted the hotfix/editor-id-missing branch July 29, 2017 17:02
nWidart added a commit that referenced this pull request Sep 2, 2017
* 2.0: (81 commits)
  Make PHP < 7 happy
  Immediately call closure after binding
  Bind current object to the dynamic relations closure
  Fixing @return types
  Adding logout and loginUsingId methods on the sentinal guard
  Adding changelog item
  Removing obsolete files
  Abstract csv download inside Response macro
  Make TranslationController slim
  Move AsgardCms class to the foundation namespace
  Read core module version from the AsgardCms class other modules keep same logic.
  Removing the version number in composer.json
  Added an AsgardCms class containing the current cms version
  Always load migrations
  Preparing 2.5.2 release
  Fixing CLI issue not having the translation repository bound
  Preparing 2.5.1 release
  Adding changelog item
  Add missing `id` attribute to editor's textarea (#359)
  Renaming hook ContentIsRendering to PageContentIsRendering
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants