Skip to content

Commit

Permalink
Enable icon chooser on full site editor (#211)
Browse files Browse the repository at this point in the history
* update Dockerfile-latest to use the new node 20.x installation method

* enable icon chooser on site-editor.php screen
  • Loading branch information
mlwilkerson committed Nov 13, 2023
1 parent 2501127 commit 82c03f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion docker/Dockerfile-latest
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
FROM wordpress:latest

RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash -
# Node installation
# See: https://deb.nodesource.com/
RUN apt-get update && apt-get install -y ca-certificates curl gnupg
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /tmp/nodesource.gpg
ENV NODE_MAJOR=20
RUN echo "deb [signed-by=/tmp/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list

# Install packages
RUN apt-get update && \
Expand Down
2 changes: 1 addition & 1 deletion includes/class-fontawesome.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class FontAwesome {
* @internal
* @ignore
*/
protected $icon_chooser_screens = array( 'post.php', 'post-new.php' );
protected $icon_chooser_screens = array( 'post.php', 'post-new.php', 'site-editor.php' );

/**
* @internal
Expand Down

0 comments on commit 82c03f0

Please sign in to comment.