🇨🇳China @randy Tang

Account created on 9 December 2021, over 2 years ago
  • Developer at CI&T 
#

Recent comments

🇨🇳China randy Tang

Added restrictions:
Get the active first-level menu under the menu and avoid buttons of other first-level menus on the start and end menus
Fixed():
Undefined array key "main" in Drupal\menu_pager\Plugin\Block\MenuBlock->menuPagerGetNavigation()

🇨🇳China randy Tang

Added restrictions:
Get the active first-level menu under the menu and avoid buttons of other first-level menus on the start and end menus

🇨🇳China randy Tang

I think if the user logs in, there is no need to verify whether it is a background link.

🇨🇳China randy Tang

If the content inside

  • will jump outside the
      tag. I added to allow the module to be put into blocks

      Fill in source with “

      • test


      Save the node and check CKeditor source
      now result:The source position of the image is outside the ul tag

      expect result:The source location of the image is inside the ul tag

      schema.register('drupalEntity', {
      isObject: true,
      isContent: true,
      isBlock: true,
      allowWhere: '$block',
      + allowIn: ["$block", "$root", "$container", "$blockObject"],
      allowAttributes: Object.keys(this.attrs),
      });

      Based on the patch created on the 93rd floor

  • 🇨🇳China randy Tang

    When the menu has external links, the following errors will occur
    UnexpectedValueException: External URLs do not have internal route parameters.

    🇨🇳China randy Tang

    Here is the same zip from #88
    1、Create a Page

    2、Add a CKEditor paragraph

    3、Input a random word and Add link

    4、Add "3" on ID field below on link advanced

    5、Save as Published

    6、Edit the page and check this link

    Phenomenon:Link change to Anchor automatically

    🇨🇳China randy Tang

    I encountered this problem in 10.1.1, it was caused by the lack of url in the views_slideshow module. I found no license file in this module. In order to avoid the same problem with other modules, I added this patch to the core

    🇨🇳China randy Tang

    Make this patch compatible with drupal10

    🇨🇳China randy Tang

    The webpack.config.js was missing from the previous patch

    🇨🇳China randy Tang

    I made a patch for the code as of 2023.06.20 to apply to version 1.2. It should be noted that I submitted two commits, one was added
    “# Information added by Drupal.org packaging script on 2020-09-27
    version: '8.x-1.2'
    project: 'ckeditor_templates'
    datestamp: 1601232519”
    The second time is to support the code of D10, and the patch is also submitted based on the second commit.

    You also need to add "drupal/ckeditor_templates": "-p1" in patchLevel

    🇨🇳China randy Tang

    1、Go to admin/config/workflow/workflows/manage

    2、Update "Content types" in "THIS WORKFLOW APPLIES TO:" and Uncheck "one content type"

    3、Save the changes

    4、Create a "one content type" page

    5、Fill in necessary fields and saved

    6、Edit "one content type" page and Click Revisions tab
    It will prompt Error: Call to a member function hasTranslation() on null in Drupal\diff\Form\RevisionOverviewForm->buildForm() (line 215 of modules/contrib/diff/src/Form/RevisionOverviewForm.php).

    Production build 0.69.0 2024